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.
Added 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¶Represents a custom read-only combobox inside FileDialog.
Return the index of the selected item, possibly wx.NOT_FOUND.
int
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)
None
See GetSelection and SetSelection