Hi,
I need a control that can display a large number (thousands) of image
thumbnails.
What should I use ?
The obvious solution would be a wx.ListCtrl. However, this control will
require an image list. Can I create a virtual image list ? An image list
that doesn't store the images but draws them as requested and that can be
associated with the List control ?
Also, the docs state that the virtual list control doesn't support the icon
view, but only the report view. On Win$$ this is not entirely correct, as I
was able to get an almost functional virtual icon list (the items are not
always correct after a resize of the list control, however, after redrawing
the list control everything is fine). Is the virtual icon list control
working only on windows ?
Is there other solution ? I was thinking on using a virtual grid control if
I can hide the grid lines and the first column. Is this possible ?
Are there any existing wx controls that can do what I want (display large
number of thumbnails) ?
TIA,
Ionutz
I did something similar, but instead of a wx-native control I went with
the HTML classes. The IE-based one does a better job than the native
one, but the native one has the virtue of not requiring the end user to
have IE installed prior to use.
Going that route, it's a simple matter to create an HTML table with the
thumbnails and capture what the user clicks on.
OTOH, this only works for static images. If you're creating them on the
fly, it's a bit trickier.
ยทยทยท
-----Original Message-----
From: borco@go.ro [mailto:borco@go.ro]
Sent: Monday, August 25, 2003 00:51
To: wxPython-users@lists.wxwindows.org
Subject: [wxPython-users] Thumbnail view control
Hi,
I need a control that can display a large number (thousands)
of image thumbnails.
What should I use ?
The obvious solution would be a wx.ListCtrl. However, this
control will require an image list. Can I create a virtual
image list ? An image list that doesn't store the images but
draws them as requested and that can be associated with the
List control ?
Also, the docs state that the virtual list control doesn't
support the icon view, but only the report view. On Win$$
this is not entirely correct, as I was able to get an almost
functional virtual icon list (the items are not always
correct after a resize of the list control, however, after
redrawing the list control everything is fine). Is the
virtual icon list control working only on windows ?
Is there other solution ? I was thinking on using a virtual
grid control if I can hide the grid lines and the first
column. Is this possible ?
Are there any existing wx controls that can do what I want
(display large number of thumbnails) ?
TIA,
Ionutz
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail:
wxPython-users-help@lists.wxwindows.org