Phoenix Logo

phoenix_title wx.lib.agw.rulerctrl.RulerCtrlEvent

Represent details of the events that the RulerCtrl object sends.


class_hierarchy Class Hierarchy

Inheritance diagram for class RulerCtrlEvent:

super_classes Known Superclasses

wx.CommandEvent


method_summary Methods Summary

__init__ Default class constructor.
GetOldValue Returns the event old value.
GetValue Returns the event value.
SetOldValue Sets the event old value.
SetValue Sets the event value.

api 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.