enum
Gtk::ShortcutScope
Overview
Describes where #Shortcuts added to a
#ShortcutController get handled.
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/gtk.crEnum Members
-
Local =
0_u32 -
Shortcuts are handled inside the widget the controller belongs to.
-
Managed =
1_u32 -
Shortcuts are handled by the first ancestor that is a
#ShortcutManager -
Global =
2_u32 -
Shortcuts are handled by the root widget.
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
-
#global?
Returns
trueif this enum value equalsGlobal -
#local?
Returns
trueif this enum value equalsLocal -
#managed?
Returns
trueif this enum value equalsManaged
Class methods inherited from struct Enum
g_type : UInt64
g_type
Class Method Detail
Returns the type id (GType) registered in GLib type system.