
wx.lib.agw.zoombar.ZoomBarEvent¶Event sent from the ZoomBar when a button is activated.
Class Hierarchy¶
Inheritance diagram for class ZoomBarEvent:

Known Superclasses¶
Methods Summary¶Default class constructor. |
|
Returns the text label of the selected button. |
|
Returns the index of the selected button. |
|
Sets the text label of the selected button. |
|
Sets the index of the selected button. |
Class API¶ZoomBarEvent(wx.PyCommandEvent)¶Event sent from the ZoomBar when a button is activated.
__init__(self, eventType, eventId=1)¶Default class constructor.
eventType – the event type;
eventId – the event identifier.
GetLabel(self)¶Returns the text label of the selected button.
GetSelection(self)¶Returns the index of the selected button.
SetLabel(self, label)¶Sets the text label of the selected button.
label – the text label of the selected button.
SetSelection(self, selection)¶Sets the index of the selected button.
selection – an integer indicating the current selected button.