Gdk.EventPadButton

Fields

Name

Type

Access

Description

button

int

r/w

The pad button that was pressed.

group

int

r/w

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

mode

int

r/w

The current mode of group. Different groups in a Gdk.InputSource.TABLET_PAD device may have different current modes.

send_event

int

r/w

True if the event was sent explicitly.

time

int

r/w

the time of the event in milliseconds.

type

Gdk.EventType

r/w

the type of the event (Gdk.EventType.PAD_BUTTON_PRESS or Gdk.EventType.PAD_BUTTON_RELEASE).

window

Gdk.Window

r/w

the window which received the event.

Methods

None

Details

class Gdk.EventPadButton

Generated during Gdk.InputSource.TABLET_PAD button presses and releases.

New in version 3.22.