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.cr

Enum 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

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


Instance Method Detail

def accelerator? #

def gesture? #

def gesture_pinch? #

def gesture_rotate_clockwise? #

def gesture_rotate_counterclockwise? #

def gesture_stretch? #

def gesture_swipe_left? #

def gesture_swipe_right? #

def gesture_two_finger_swipe_left? #

def gesture_two_finger_swipe_right? #