wx.lib.agw.rulerctrl.RulerCtrlEvent¶
Represent details of the events that the RulerCtrl
object sends.
Class Hierarchy¶
Known Superclasses¶
Methods Summary¶
Default class constructor. |
|
Returns the event old value. |
|
Returns the event value. |
|
Sets the event old value. |
|
Sets the event value. |
Class API¶
- class RulerCtrlEvent(wx.CommandEvent)¶
Represent details of the events that the
RulerCtrl
object sends.
Methods¶
- __init__(self, eventType, eventId=1)¶
Default class constructor.
- Parameters:
eventType – the event type;
eventId – the event identifier.
- GetOldValue(self)¶
Returns the event old value.
- GetValue(self)¶
Returns the event value.
- SetOldValue(self, oldValue)¶
Sets the event old value.
- Parameters:
value – the old indicator position.
- SetValue(self, value)¶
Sets the event value.
- Parameters:
value – the new indicator position.