wx.lib.agw.pycollapsiblepane.GTKExpander¶A GTKExpander allows the user to hide or show its child by clicking on an expander
triangle.
Class Hierarchy¶
Inheritance diagram for class GTKExpander:
Known Superclasses¶
Methods Summary¶Default class constructor. |
|
Gets the size which best suits the window: for a control, it would be the |
|
Draws the |
|
Draws the |
|
Handles the |
Class API¶A GTKExpander allows the user to hide or show its child by clicking on an expander
triangle.
Default class constructor.
parent – the GTKExpander parent. Must not be None;
id – window identifier. A value of -1 indicates a default value;
label – the expander text label;
pos – the control position. A value of (-1, -1) indicates a default position, chosen by either the windowing system or wxPython, depending on platform;
size – the control size. A value of (-1, -1) indicates a default size, chosen by either the windowing system or wxPython, depending on platform;
style – the expander style.
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.Control.
Draws the GTKExpander triangle.
dc – an instance of wx.DC.
Draws the GTKExpander text label.
dc – an instance of wx.DC.
Handles the wx.EVT_SIZE event for GTKExpander.
event – a wx.SizeEvent event to be processed.