module
Gtk::ShortcutManager
Overview
The Gtk::ShortcutManager interface is used to implement
shortcut scopes.
This is important for Gtk::Native widgets that have their
own surface, since the event controllers that are used to implement
managed and global scopes are limited to the same native.
Examples for widgets implementing Gtk::ShortcutManager are
Gtk::Window and Gtk::Popover.
Every widget that implements Gtk::ShortcutManager will be used as a
%GTK_SHORTCUT_SCOPE_MANAGED.
Direct including types
- Gtk::AboutDialog
- Gtk::AppChooserDialog
- Gtk::ApplicationWindow
- Gtk::Assistant
- Gtk::ColorChooserDialog
- Gtk::Dialog
- Gtk::EmojiChooser
- Gtk::FileChooserDialog
- Gtk::FontChooserDialog
- Gtk::MessageDialog
- Gtk::PageSetupUnixDialog
- Gtk::Popover
- Gtk::PopoverMenu
- Gtk::PrintUnixDialog
- Gtk::ShortcutsWindow
- Gtk::Window
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/shortcut_manager.crConstructors
-
.cast(obj : GObject::Object) : self
Cast a
GObject::Objecttoself, throws aTypeCastErrorif the cast can't be made.
Class Method Summary
Instance Method Summary
Constructor Detail
Cast a GObject::Object to self, throws a TypeCastError if the cast can't be made.