Gtk.ShortcutManager

g GObject.GInterface GObject.GInterface Gtk.ShortcutManager Gtk.ShortcutManager GObject.GInterface->Gtk.ShortcutManager

Implementations:

Gtk.Popover, Gtk.Window

Methods

None

Virtual Methods

do_add_controller (controller)

do_remove_controller (controller)

Properties

None

Signals

None

Fields

None

Class Details

class Gtk.ShortcutManager
Bases:

GObject.GInterface

Structure:

Gtk.ShortcutManagerInterface

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 a Gtk.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