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.


[View source]

Instance Method Detail

def accelerator? #

[View source]
def gesture? #

[View source]
def gesture_pinch? #

[View source]
def gesture_rotate_clockwise? #

[View source]
def gesture_rotate_counterclockwise? #

[View source]
def gesture_stretch? #

[View source]
def gesture_swipe_left? #

[View source]
def gesture_swipe_right? #

[View source]
def gesture_two_finger_swipe_left? #

[View source]
def gesture_two_finger_swipe_right? #

[View source]