gdk.event_pad_button
Module for [EventPadButton] class
class EventPadButton
Types 1
classEventPadButton
Generated during gdk.types.InputSource.TabletPad button presses and releases.
Fields
GdkEventPadButton _cInstanceMethods
void * _cPtr() nothrowgdk.types.EventType type() @property nothrowGet `type` field. Returns: the type of the event ([gdk.types.EventType.PadButtonPress] or [gdk.types.EventType.PadButtonRelease]).void type(gdk.types.EventType propval) @property nothrowSet `type` field. Params: propval = the type of the event ([gdk.types.EventType.PadButtonPress] or [gdk.types.EventType.PadButtonRelease]).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 button 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 button belongs to. A [gdk.types.InputSource.TabletPad] device may have one or more groups containing a set of buttons/rings/strips each.void button(uint propval) @property nothrowSet `button` field. Params: propval = The pad button that was pressed.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.