Enumeration

GdkAxisUse

Declaration

enum Gdk.AxisUse

Description [src]

An enumeration describing the way in which a device axis (valuator) maps onto the predefined valuator types that GTK+ understands.

Note that the X and Y axes are not really needed; pointer devices report their location via the x/y members of events regardless. Whether X and Y are present as axes depends on the GDK backend.

Members

GDK_AXIS_IGNORE

The axis is ignored.

  • Value: 0
  • Available since: 3.0
GDK_AXIS_X

The axis is used as the x axis.

  • Value: 1
  • Available since: 3.0
GDK_AXIS_Y

The axis is used as the y axis.

  • Value: 2
  • Available since: 3.0
GDK_AXIS_PRESSURE

The axis is used for pressure information.

  • Value: 3
  • Available since: 3.0
GDK_AXIS_XTILT

The axis is used for x tilt information.

  • Value: 4
  • Available since: 3.0
GDK_AXIS_YTILT

The axis is used for y tilt information.

  • Value: 5
  • Available since: 3.0
GDK_AXIS_WHEEL

The axis is used for wheel information.

  • Value: 6
  • Available since: 3.0
GDK_AXIS_DISTANCE

The axis is used for pen/tablet distance information. (Since: 3.22).

  • Value: 7
  • Available since: 3.0
GDK_AXIS_ROTATION

The axis is used for pen rotation information. (Since: 3.22).

  • Value: 8
  • Available since: 3.0
GDK_AXIS_SLIDER

The axis is used for pen slider information. (Since: 3.22).

  • Value: 9
  • Available since: 3.0
GDK_AXIS_LAST

A constant equal to the numerically highest axis value.

  • Value: 10
  • Available since: 3.0