CaptionBarEvent
This event will be sent when a EVT_CAPTIONBAR is mapped in the parent.
It is to notify the parent that the bar is now in collapsed or expanded
state. The parent should re-arrange the associated windows accordingly
Inheritance Diagram
Inheritance diagram for class CaptionBarEvent
Known Superclasses
PyCommandEvent
Methods Summary
Class API
-
class CaptionBarEvent(PyCommandEvent)
This event will be sent when a EVT_CAPTIONBAR is mapped in the parent.
It is to notify the parent that the bar is now in collapsed or expanded
state. The parent should re-arrange the associated windows accordingly
Methods
-
__init__(self, evtType)
Default class constructor.
Parameters: | evtType – the event type. |
-
GetBar(self)
Returns the selected CaptionBar.
-
GetFoldStatus(self)
Returns whether the bar is expanded or collapsed. True means
expanded.
-
GetTag(self)
Returns the tag assigned to the selected CaptionBar.
-
SetBar(self, bar)
Sets the bar associated with this event.
Note
Should not be used by any other than the originator of the event.
-
SetTag(self, tag)
Assigns a tag to the selected CaptionBar.