Struct

GdkEventPadButton

since: 3.22

Description [src]

struct GdkEventPadButton {
  GdkEventType type;
  GdkWindow* window;
  gint8 send_event;
  guint32 time;
  guint group;
  guint button;
  guint mode;
}

Generated during GDK_SOURCE_TABLET_PAD button presses and releases.

Structure members
type

The type of the event (GDK_PAD_BUTTON_PRESS or GDK_PAD_BUTTON_RELEASE).

window

The window which received the event.

send_event

TRUE if the event was sent explicitly.

time

The time of the event in milliseconds.

group

The pad group the button belongs to. A GDK_SOURCE_TABLET_PAD device may have one or more groups containing a set of buttons/rings/strips each.

button

The pad button that was pressed.

mode

The current mode of group. Different groups in a GDK_SOURCE_TABLET_PAD device may have different current modes.

Available since: 3.22