gdk.event_pad_button

Module for [EventPadButton] class

Types 1

Generated during [gdk.types.InputSource.TabletPad] button presses and releases.

Fields
Methods
void * _cPtr()
gdk.types.EventType type() @propertyGet `type` field. Returns: the type of the event ([gdk.types.EventType.PadButtonPress] or [gdk.types.EventType.PadButtonRelease]).
void type(gdk.types.EventType propval) @propertySet `type` field. Params: propval = the type of the event ([gdk.types.EventType.PadButtonPress] or [gdk.types.EventType.PadButtonRelease]).
gdk.window.Window window() @propertyGet `window` field. Returns: the window which received the event.
void window(gdk.window.Window propval) @propertySet `window` field. Params: propval = the window which received the event.
byte sendEvent() @propertyGet `sendEvent` field. Returns: true if the event was sent explicitly.
void sendEvent(byte propval) @propertySet `sendEvent` field. Params: propval = true if the event was sent explicitly.
uint time() @propertyGet `time` field. Returns: the time of the event in milliseconds.
void time(uint propval) @propertySet `time` field. Params: propval = the time of the event in milliseconds.
uint group() @propertyGet `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) @propertySet `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.
uint button() @propertyGet `button` field. Returns: The pad button that was pressed.
void button(uint propval) @propertySet `button` field. Params: propval = The pad button that was pressed.
uint mode() @propertyGet `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) @propertySet `mode` field. Params: propval = The current mode of @group. Different groups in a [gdk.types.InputSource.TabletPad] device may have different current modes.
Constructors
this(void * ptr, Flag!"Take" take)