wx.FileDialogChoice¶Represents a custom read-only combobox inside wx.FileDialog.
Objects of this class can only be created by wx.FileDialogCustomize.AddChoice .
It is possible to bind to wxEVT_CHOICE events on this object, which will be generated when the selection in the combobox changes.
See wx.FileDialogCustomControl for more information.
New in version 4.1/wxWidgets-3.1.7.
Class Hierarchy¶
Inheritance diagram for class FileDialogChoice:

Methods Summary¶Return the index of the selected item, possibly |
|
Set the selection to the item with the given index. |
Properties Summary¶See |
Class API¶wx.FileDialogChoice(FileDialogCustomControl)¶Represents a custom read-only combobox inside FileDialog.
GetSelection(self)¶Return the index of the selected item, possibly wx.NOT_FOUND.
int
SetSelection(self, n)¶Set the selection to the item with the given index.
Using NOT_FOUND for n is not supported, once a selection is made it cannot be undone.
n (int) –
Selection¶See GetSelection and SetSelection