ZoomBarEvent
Event sent from the ZoomBar when a button is activated.
Inheritance Diagram
Inheritance diagram for: ZoomBarEvent
Methods Summary
__init__ | Default class constructor. |
GetLabel | Returns the text label of the selected button. |
GetSelection | Returns the index of the selected button. |
SetLabel | Sets the text label of the selected button. |
SetSelection | Sets the index of the selected button. |
Class API
-
class ZoomBarEvent(wx.PyCommandEvent)[source]
Event sent from the ZoomBar when a button is activated.
-
__init__(eventType, eventId=1)[source]
Default class constructor.
Parameters: |
- eventType – the event type;
- eventId – the event identifier.
|
-
GetLabel()[source]
Returns the text label of the selected button.
-
GetSelection()[source]
Returns the index of the selected button.
-
SetLabel(label)[source]
Sets the text label of the selected button.
Parameters: | label – the text label of the selected button. |
-
SetSelection(selection)[source]
Sets the index of the selected button.
Parameters: | selection – an integer indicating the current selected button. |
Tree