ShortcutManager#

class ShortcutManager(*args, **kwargs)#

Implementations: AboutDialog, AppChooserDialog, ApplicationWindow, Assistant, ColorChooserDialog, Dialog, EmojiChooser, FileChooserDialog, FontChooserDialog, MessageDialog, PageSetupUnixDialog, Popover, PopoverMenu, PrintUnixDialog, ShortcutsWindow, Window

The GtkShortcutManager interface is used to implement shortcut scopes.

This is important for 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 Window and Popover.

Every widget that implements GtkShortcutManager will be used as a MANAGED.

Virtual Methods#

class ShortcutManager
do_add_controller(controller: ShortcutController) None#

The type of the None singleton.

Parameters:

controller

do_remove_controller(controller: ShortcutController) None#

The type of the None singleton.

Parameters:

controller