enum Gtk::ShortcutType

Overview

GtkShortcutType specifies the kind of shortcut that is being described.

More values may be added to this enumeration over time.

Defined in:

auto/gtk-4.0/gtk.cr

Enum Members

Accelerator = 0_u32

The shortcut is a keyboard accelerator. The GtkShortcutsShortcut: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 GtkShortcutsShortcut: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.

Instance Method Summary

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? #