Enumeration

GdkInputSource

Declaration

enum Gdk.InputSource

Description [src]

An enumeration describing the type of an input device in general terms.

Members

GDK_SOURCE_MOUSE

The device is a mouse. (This will be reported for the core pointer, even if it is something else, such as a trackball.).

  • Value: 0
  • Available since: 3.0
GDK_SOURCE_PEN

The device is a stylus of a graphics tablet or similar device.

  • Value: 1
  • Available since: 3.0
GDK_SOURCE_ERASER

The device is an eraser. Typically, this would be the other end of a stylus on a graphics tablet.

  • Value: 2
  • Available since: 3.0
GDK_SOURCE_CURSOR

The device is a graphics tablet “puck” or similar device.

  • Value: 3
  • Available since: 3.0
GDK_SOURCE_KEYBOARD

The device is a keyboard.

  • Value: 4
  • Available since: 3.0
GDK_SOURCE_TOUCHSCREEN

The device is a direct-input touch device, such as a touchscreen or tablet. This device type has been added in 3.4.

  • Value: 5
  • Available since: 3.0
GDK_SOURCE_TOUCHPAD

The device is an indirect touch device, such as a touchpad. This device type has been added in 3.4.

  • Value: 6
  • Available since: 3.0
GDK_SOURCE_TRACKPOINT

The device is a trackpoint. This device type has been added in 3.22.

  • Value: 7
  • Available since: 3.0
GDK_SOURCE_TABLET_PAD

The device is a “pad”, a collection of buttons, rings and strips found in drawing tablets. This device type has been added in 3.22.

  • Value: 8
  • Available since: 3.0