A GTKExpander allows the user to hide or show its child by clicking on an expander triangle.
__init__ | Default class constructor. |
DoGetBestSize | Gets the size which best suits the window: for a control, it would be the |
OnDrawGTKExpander | Draws the GTKExpander triangle. |
OnDrawGTKText | Draws the GTKExpander text label. |
OnSize | Handles the wx.EVT_SIZE event for GTKExpander. |
A GTKExpander allows the user to hide or show its child by clicking on an expander triangle.
Default class constructor.
Parameters: |
|
---|
Gets the size which best suits the window: for a control, it would be the minimal size which doesn’t truncate the control, for a panel - the same size as it would have after a call to Fit().
Note
Overridden from wx.PyControl.
Draws the GTKExpander triangle.
Parameters: | dc – an instance of wx.DC. |
---|
Draws the GTKExpander text label.
Parameters: | dc – an instance of wx.DC. |
---|
Handles the wx.EVT_SIZE event for GTKExpander.
Parameters: | event – a wx.SizeEvent event to be processed. |
---|