Gtk.ShortcutManager¶
- Implementations:
Methods¶
None
Virtual Methods¶
|
|
|
Properties¶
None
Signals¶
None
Fields¶
None
Class Details¶
- class Gtk.ShortcutManager¶
- Bases:
- Structure:
The
GtkShortcutManager
interface 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
GtkShortcutManager
are [class`Gtk`.Window] and [class`Gtk`.Popover].Every widget that implements
GtkShortcutManager
will be used as aGtk.ShortcutScope.MANAGED
.- do_add_controller(controller) virtual¶
- Parameters:
controller (
Gtk.ShortcutController
) –
Add a
GtkShortcutController
to be managed.
- do_remove_controller(controller) virtual¶
- Parameters:
controller (
Gtk.ShortcutController
) –
Remove a
GtkShortcutController
that had previously been added