Enumeration

GdkAxisUse

since: 3.0

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.

Available since: 3.0

Members

GDK_AXIS_IGNORE

The axis is ignored.

  • Value: 0
  • Nickname: ignore
  • Available since: 3.0
GDK_AXIS_X

The axis is used as the x axis.

  • Value: 1
  • Nickname: x
  • Available since: 3.0
GDK_AXIS_Y

The axis is used as the y axis.

  • Value: 2
  • Nickname: y
  • Available since: 3.0
GDK_AXIS_PRESSURE

The axis is used for pressure information.

  • Value: 3
  • Nickname: pressure
  • Available since: 3.0
GDK_AXIS_XTILT

The axis is used for x tilt information.

  • Value: 4
  • Nickname: xtilt
  • Available since: 3.0
GDK_AXIS_YTILT

The axis is used for y tilt information.

  • Value: 5
  • Nickname: ytilt
  • Available since: 3.0
GDK_AXIS_WHEEL

The axis is used for wheel information.

  • Value: 6
  • Nickname: wheel
  • Available since: 3.0
GDK_AXIS_DISTANCE

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

  • Value: 7
  • Nickname: distance
  • Available since: 3.0
GDK_AXIS_ROTATION

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

  • Value: 8
  • Nickname: rotation
  • Available since: 3.0
GDK_AXIS_SLIDER

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

  • Value: 9
  • Nickname: slider
  • Available since: 3.0
GDK_AXIS_LAST

A constant equal to the numerically highest axis value.

  • Value: 10
  • Nickname: last
  • Available since: 3.0