phoenix_title wx.lib.agw.knobctrl.KnobCtrlEvent

Represent details of the events that the KnobCtrl object sends.


class_hierarchy Class Hierarchy

Inheritance diagram for class KnobCtrlEvent:

super_classes Known Superclasses

wx.CommandEvent


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(wx.CommandEvent)

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.