Table Of Contents

Previous topic

RulerCtrl

Next topic

shapedbutton

This Page

phoenix_title RulerCtrlEvent

Represent details of the events that the RulerCtrl object sends.


class_hierarchy Inheritance Diagram

Inheritance diagram for class RulerCtrlEvent

Inheritance diagram of RulerCtrlEvent


super_classes Known Superclasses

PyCommandEvent


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(PyCommandEvent)

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.