AGW Logo

agw_title ZoomBarEvent

Event sent from the ZoomBar when a button is activated.

hierarchy Inheritance Diagram

Inheritance diagram for: ZoomBarEvent

Inheritance diagram of ZoomBarEvent


method_summary Methods Summary

__init__Default class constructor.
GetLabelReturns the text label of the selected button.
GetSelectionReturns the index of the selected button.
SetLabelSets the text label of the selected button.
SetSelectionSets the index of the selected button.

API 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

Table Of Contents

Previous topic

ZoomBar

Next topic

ZoomBarImage