-
Cast constructor, converting any binary integer to a
ShortcutType.Declaration
Swift
@inlinable init!<I>(_ raw: I) where I : BinaryIntegerParameters
rawThe raw integer value to initialise the enum from
-
The shortcut is a keyboard accelerator. The
GtkShortcutsShortcut:acceleratorproperty 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:iconproperty will be used.Declaration
Swift
static let gesture: GtkShortcutType
View on GitHub
Install in Dash
ShortcutType Extension Reference