Table Of Contents

Previous topic

KnobCtrl

Next topic

labelbook

This Page

phoenix_title KnobCtrlEvent

Represent details of the events that the KnobCtrl object sends.


class_hierarchy Inheritance Diagram

Inheritance diagram for class KnobCtrlEvent

Inheritance diagram of KnobCtrlEvent


super_classes Known Superclasses

PyCommandEvent


method_summary Methods Summary

__init__ Default class constructor.
GetOldValue Returns the old KnobCtrl value for this event.
GetValue Returns the new KnobCtrl value for this event.
SetOldValue Sets the old KnobCtrl value for this event.
SetValue Sets the new KnobCtrl value for this event.

api Class API



class KnobCtrlEvent(PyCommandEvent)

Represent details of the events that the KnobCtrl object sends.


Methods



__init__(self, eventType, eventId=1)

Default class constructor. For internal use: do not call it in your code!

Parameters:
  • eventType – the event type;
  • eventId – the event identifier.


GetOldValue(self)

Returns the old KnobCtrl value for this event.



GetValue(self)

Returns the new KnobCtrl value for this event.



SetOldValue(self, oldValue)

Sets the old KnobCtrl value for this event.

Parameters:oldValue – an integer representing the old value.


SetValue(self, value)

Sets the new KnobCtrl value for this event.

Parameters:value – an integer representing the new value.