module Gtk::ShortcutManager
Overview
An interface that 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
- Adw::AboutDialog
- Adw::AboutWindow
- Adw::AlertDialog
- Adw::ApplicationWindow
- Adw::Dialog
- Adw::MessageDialog
- Adw::PreferencesDialog
- Adw::PreferencesWindow
- Adw::Window
- 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.