wx.FileDialogCustomControl¶
The base class for all wx.FileDialog custom controls.
Unlike normal controls, inheriting from wx.Window, custom controls in wx.FileDialog are not actual windows, but they do provide some window-like operations, and can be disabled or hidden, just as the windows are.
Also, similarly to the normal windows, objects of this and derived classes belong to wxWidgets and must not be deleted by the application code.
Unlike windows, custom controls cannot be created directly, but can only be returned from wx.FileDialogCustomize functions that are specifically provided for creating them.
Added in version 4.1/wxWidgets-3.1.7.
Class Hierarchy¶
Known Subclasses¶
wx.FileDialogButton, wx.FileDialogCheckBox, wx.FileDialogChoice, wx.FileDialogRadioButton, wx.FileDialogStaticText, wx.FileDialogTextCtrl
Methods Summary¶
Disable this control. |
|
Enable or disable this control. |
|
Hide this control. |
|
Show or hide this control. |
Class API¶
- class wx.FileDialogCustomControl(EvtHandler)¶
The base class for all FileDialog custom controls.
Methods¶
- Disable(self)¶
Disable this control.
This is equivalent to
Enable(false)
.- Return type:
None
- Enable(self, enable=True)¶
Enable or disable this control.
- Parameters:
enable (bool)
- Return type:
None
- Hide(self)¶
Hide this control.
This is equivalent to
Show(false)
.- Return type:
None
- Show(self, show=True)¶
Show or hide this control.
- Parameters:
show (bool)
- Return type:
None