wx.lib.agw.thumbnailctrl.ThumbnailCtrl¶ThumbnailCtrl is a widget that can be used to display a series of images in
a “thumbnail” format.
Methods Summary¶__init__ |
Default class constructor. |
GetShowComboBox |
Returns whether the folder combobox is shown. |
OnComboBox |
Handles the wx.EVT_COMBOBOX for the folder combobox. |
RecreateComboBox |
Recreates the folder combobox every time a new directory is explored. |
ShowComboBox |
Shows/Hide the top folder ComboBox. |
Class API¶ThumbnailCtrl(wx.Panel)¶ThumbnailCtrl is a widget that can be used to display a series of images in
a “thumbnail” format.
__init__(self, parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, thumboutline=THUMB_OUTLINE_IMAGE, thumbfilter=THUMB_FILTER_IMAGES, imagehandler=PILImageHandler)¶Default class constructor.
| Parameters: |
|
|---|
GetShowComboBox(self)¶Returns whether the folder combobox is shown.
OnComboBox(self, event)¶Handles the wx.EVT_COMBOBOX for the folder combobox.
| Parameters: | event – a CommandEvent event to be processed. |
|---|
RecreateComboBox(self, newdir)¶Recreates the folder combobox every time a new directory is explored.
| Parameters: | newdir – the new folder to be explored. |
|---|
ShowComboBox(self, show=True)¶Shows/Hide the top folder ComboBox.
| Parameters: | show – True to show the combobox, False otherwise. |
|---|