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
Default class constructor. |
|
Returns the selected |
|
Returns whether the bar is expanded or collapsed. |
|
Returns the tag assigned to the selected |
|
Sets the bar associated with this event. |
|
Assigns a tag to the selected |
CaptionBarEvent
(wx.CommandEvent)¶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
__init__
(self, evtType)¶Default class constructor.
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.
bar – an instance of CaptionBar
.
Note
Should not be used by any other than the originator of the event.
SetTag
(self, tag)¶Assigns a tag to the selected CaptionBar
.
tag – an instance of FoldPanelBar
.