wx.lib.imagebrowser.ImageDialog¶wx.ImageDialog derived from Dialog allows the user
to display images and to select an image.
Class Hierarchy¶
Inheritance diagram for class ImageDialog:
Known Superclasses¶
Methods Summary¶Default class constructor. |
|
Change list of file types to be supported |
|
Get directory |
|
Get selected file |
|
Class API¶wx.ImageDialog derived from Dialog allows the user
to display images and to select an image.
Default class constructor.
parent (wx.Window) – parent window.
set_dir (string) – path to set as working directory
Change list of file types to be supported
ft_tuple (tuple) –
tuple of files types, e.g. to support just .gif and .png you would use:
(“PNG (.png)”, “.png”))
Get directory
get the current directory
Get selected file
File selected or None