gdk.event_pad_axis
Module for [EventPadAxis] class
class EventPadAxis
Types 1
classEventPadAxis
Generated during gdk.types.InputSource.TabletPad interaction with tactile sensors.
Fields
GdkEventPadAxis _cInstanceMethods
void * _cPtr() nothrowgdk.types.EventType type() @property nothrowGet `type` field. Returns: the type of the event ([gdk.types.EventType.PadRing] or [gdk.types.EventType.PadStrip]).void type(gdk.types.EventType propval) @property nothrowSet `type` field. Params: propval = the type of the event ([gdk.types.EventType.PadRing] or [gdk.types.EventType.PadStrip]).gdk.window.Window window() @property nothrowGet `window` field. Returns: the window which received the event.void window(gdk.window.Window propval) @property nothrowSet `window` field. Params: propval = the window which received the event.byte sendEvent() @property nothrowGet `sendEvent` field. Returns: true if the event was sent explicitly.void sendEvent(byte propval) @property nothrowSet `sendEvent` field. Params: propval = true if the event was sent explicitly.void time(uint propval) @property nothrowSet `time` field. Params: propval = the time of the event in milliseconds.uint group() @property nothrowGet `group` field. Returns: the pad group the ring/strip belongs to. A [gdk.types.InputSource.TabletPad] device may have one or more groups containing a set of buttons/rings/strips each.void group(uint propval) @property nothrowSet `group` field. Params: propval = the pad group the ring/strip belongs to. A [gdk.types.InputSource.TabletPad] device may have one or more groups containing a set of buttons/rings/strips each.uint index() @property nothrowGet `index` field. Returns: number of strip/ring that was interacted. This number is 0-indexed.void index(uint propval) @property nothrowSet `index` field. Params: propval = number of strip/ring that was interacted. This number is 0-indexed.uint mode() @property nothrowGet `mode` field. Returns: The current mode of @group. Different groups in a [gdk.types.InputSource.TabletPad] device may have different current modes.void mode(uint propval) @property nothrowSet `mode` field. Params: propval = The current mode of @group. Different groups in a [gdk.types.InputSource.TabletPad] device may have different current modes.void value(double propval) @property nothrowSet `value` field. Params: propval = The current value for the given axis.