enum
Gtk::ShortcutType
Overview
Gtk::ShortcutType specifies the kind of shortcut that is being described.
More values may be added to this enumeration over time.
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/gtk.crEnum Members
-
Accelerator =
0_u32
-
The shortcut is a keyboard accelerator. The Gtk::ShortcutsShortcut:accelerator property will be used.
-
GesturePinch =
1_u32
-
The shortcut is a pinch gesture. GTK provides an icon and subtitle.
-
GestureStretch =
2_u32
-
The shortcut is a stretch gesture. GTK provides an icon and subtitle.
-
GestureRotateClockwise =
3_u32
-
The shortcut is a clockwise rotation gesture. GTK provides an icon and subtitle.
-
GestureRotateCounterclockwise =
4_u32
-
The shortcut is a counterclockwise rotation gesture. GTK provides an icon and subtitle.
-
GestureTwoFingerSwipeLeft =
5_u32
-
The shortcut is a two-finger swipe gesture. GTK provides an icon and subtitle.
-
GestureTwoFingerSwipeRight =
6_u32
-
The shortcut is a two-finger swipe gesture. GTK provides an icon and subtitle.
-
Gesture =
7_u32
-
The shortcut is a gesture. The Gtk::ShortcutsShortcut:icon property will be used.
-
GestureSwipeLeft =
8_u32
-
The shortcut is a swipe gesture. GTK provides an icon and subtitle.
-
GestureSwipeRight =
9_u32
-
The shortcut is a swipe gesture. GTK provides an icon and subtitle.
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
-
#accelerator?
Returns
true
if this enum value equalsAccelerator
-
#gesture?
Returns
true
if this enum value equalsGesture
-
#gesture_pinch?
Returns
true
if this enum value equalsGesturePinch
-
#gesture_rotate_clockwise?
Returns
true
if this enum value equalsGestureRotateClockwise
-
#gesture_rotate_counterclockwise?
Returns
true
if this enum value equalsGestureRotateCounterclockwise
-
#gesture_stretch?
Returns
true
if this enum value equalsGestureStretch
-
#gesture_swipe_left?
Returns
true
if this enum value equalsGestureSwipeLeft
-
#gesture_swipe_right?
Returns
true
if this enum value equalsGestureSwipeRight
-
#gesture_two_finger_swipe_left?
Returns
true
if this enum value equalsGestureTwoFingerSwipeLeft
-
#gesture_two_finger_swipe_right?
Returns
true
if this enum value equalsGestureTwoFingerSwipeRight
Class methods inherited from struct Enum
g_type : UInt64
g_type
Class Method Detail
Returns the type id (GType) registered in GLib type system.
Instance Method Detail
Returns true
if this enum value equals GestureRotateCounterclockwise
Returns true
if this enum value equals GestureTwoFingerSwipeLeft
Returns true
if this enum value equals GestureTwoFingerSwipeRight