Gtk.ShortcutManager¶
- Implementations:
Methods¶
None
Virtual Methods¶
|
|
|
Properties¶
None
Signals¶
None
Fields¶
None
Class Details¶
- class Gtk.ShortcutManager¶
- Bases:
- Structure:
An interface that is used to implement shortcut scopes.
This is important for [iface`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
GtkShortcutManagerare [class`Gtk`.Window] and [class`Gtk`.Popover].Every widget that implements
GtkShortcutManagerwill be used as aGTK_SHORTCUT_SCOPE_MANAGED.- do_add_controller(controller) virtual¶
- Parameters:
controller (
Gtk.ShortcutController) –
Add a
GtkShortcutControllerto be managed.
- do_remove_controller(controller) virtual¶
- Parameters:
controller (
Gtk.ShortcutController) –
Remove a
GtkShortcutControllerthat had previously been added