enum Gdk::AxisUse
Overview
Defines how device axes are interpreted by GTK.
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.
Defined in:
lib/gi-crystal/src/auto/gdk-4.0/gdk.crEnum Members
-
Ignore =
0_u32
-
the axis is ignored.
-
X =
1_u32
-
the axis is used as the x axis.
-
Y =
2_u32
-
the axis is used as the y axis.
-
DeltaX =
3_u32
-
the axis is used as the scroll x delta
-
DeltaY =
4_u32
-
the axis is used as the scroll y delta
-
Pressure =
5_u32
-
the axis is used for pressure information.
-
Xtilt =
6_u32
-
the axis is used for x tilt information.
-
Ytilt =
7_u32
-
the axis is used for y tilt information.
-
Wheel =
8_u32
-
the axis is used for wheel information.
-
Distance =
9_u32
-
the axis is used for pen/tablet distance information
-
Rotation =
10_u32
-
the axis is used for pen rotation information
-
Slider =
11_u32
-
the axis is used for pen slider information
-
Last =
12_u32
-
a constant equal to the numerically highest axis value.
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
- #delta_x?
- #delta_y?
- #distance?
- #ignore?
- #last?
- #pressure?
- #rotation?
- #slider?
- #wheel?
- #x?
- #xtilt?
- #y?
- #ytilt?
Class methods inherited from struct Enum
g_type : UInt64
g_type
Class Method Detail
Returns the type id (GType) registered in GLib type system.