Enum gtk4::ShortcutType [−][src]
#[non_exhaustive]
pub enum ShortcutType {
Accelerator,
GesturePinch,
GestureStretch,
GestureRotateClockwise,
GestureRotateCounterclockwise,
GestureTwoFingerSwipeLeft,
GestureTwoFingerSwipeRight,
Gesture,
GestureSwipeLeft,
GestureSwipeRight,
// some variants omitted
}
Expand description
GtkShortcutType specifies the kind of shortcut that is being described.
More values may be added to this enumeration over time.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
The shortcut is a keyboard accelerator. The GtkShortcutsShortcut:accelerator property will be used.
The shortcut is a pinch gesture. GTK provides an icon and subtitle.
The shortcut is a stretch gesture. GTK provides an icon and subtitle.
The shortcut is a clockwise rotation gesture. GTK provides an icon and subtitle.
The shortcut is a counterclockwise rotation gesture. GTK provides an icon and subtitle.
The shortcut is a two-finger swipe gesture. GTK provides an icon and subtitle.
The shortcut is a two-finger swipe gesture. GTK provides an icon and subtitle.
The shortcut is a gesture. The GtkShortcutsShortcut:icon property will be used.
The shortcut is a swipe gesture. GTK provides an icon and subtitle.
The shortcut is a swipe gesture. GTK provides an icon and subtitle.
Trait Implementations
type Checker = GenericValueTypeChecker<Self>
type Checker = GenericValueTypeChecker<Self>
Value type checker.
Get the contained value from a Value
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Returns the type identifier of Self
.
Auto Trait Implementations
impl RefUnwindSafe for ShortcutType
impl Send for ShortcutType
impl Sync for ShortcutType
impl Unpin for ShortcutType
impl UnwindSafe for ShortcutType
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.