-
Cast constructor, converting any binary integer to a
ShortcutType
.Declaration
Swift
@inlinable init!<I>(_ raw: I) where I : BinaryInteger
Parameters
raw
The raw integer value to initialise the enum from
-
The shortcut is a keyboard accelerator. The GtkShortcutsShortcut:accelerator property will be used.
Declaration
Swift
static let accelerator: GtkShortcutType
-
The shortcut is a pinch gesture. GTK provides an icon and subtitle.
Declaration
Swift
static let gesturePinch: GtkShortcutType
-
The shortcut is a stretch gesture. GTK provides an icon and subtitle.
Declaration
Swift
static let gestureStretch: GtkShortcutType
-
The shortcut is a clockwise rotation gesture. GTK provides an icon and subtitle.
Declaration
Swift
static let gestureRotateClockwise: GtkShortcutType
-
The shortcut is a counterclockwise rotation gesture. GTK provides an icon and subtitle.
Declaration
Swift
static let gestureRotateCounterclockwise: GtkShortcutType
-
The shortcut is a two-finger swipe gesture. GTK provides an icon and subtitle.
Declaration
Swift
static let gestureTwoFingerSwipeLeft: GtkShortcutType
-
The shortcut is a two-finger swipe gesture. GTK provides an icon and subtitle.
Declaration
Swift
static let gestureTwoFingerSwipeRight: GtkShortcutType
-
The shortcut is a gesture. The GtkShortcutsShortcut:icon property will be used.
Declaration
Swift
static let gesture: GtkShortcutType
-
The shortcut is a swipe gesture. GTK provides an icon and subtitle.
Declaration
Swift
static let gestureSwipeLeft: GtkShortcutType
-
The shortcut is a swipe gesture. GTK provides an icon and subtitle.
Declaration
Swift
static let gestureSwipeRight: GtkShortcutType