Package: gdk

GEnum gdk:axis-use

Declaration

(gobject:define-genum "GdkAxisUse" gdk-axis-use
  (:export t
   :type-initializer "gdk_axis_use_get_type")
  :ignore
  :x
  :y
  :delta-x
  :delty-y
  :pressure
  :xtilt
  :ytilt
  :wheel
  :distance
  :rotation
  :slider
  :last)  

Values

:ignore
The axis is ignored.
:x
The axis is used as the x axis.
:y
The axis is used as the y axis.
:delta-x
The axis is used as the scroll x delta.
:delta-y
The axis is used as the scroll y delta.
:pressure
The axis is used for pressure information.
:xtilt
The axis is used for x tilt information.
:ytilt
The axis is used for y tilt information.
:wheel
The axis is used for wheel information.
:distance
The axis is used for pen/tablet distance information.
:rotation
The axis is used for pen rotation information.
:slider
The axis is used for pen slider information.
:last
The constant equal to the numerically highest axis value.

Details

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.
 

See also

2024-7-12