Gtk.ShortcutManager
Description: Reference for Gtk.ShortcutManager

### Interface

# GtkShortcutManager

#### Description [src]

    interface Gtk.ShortcutManager : GObject.Object

The `GtkShortcutManager` interface is used to implement shortcut scopes.

This is important for `GtkNative` 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 `GtkWindow` and `GtkPopover`.

Every widget that implements `GtkShortcutManager` will be used as a `GTK_SHORTCUT_SCOPE_MANAGED`.

#### Prerequisite

In order to implement ShortcutManager, your type must inherit from `GObject`.

#### Implementations

- GtkAboutDialog
- GtkAppChooserDialog
- GtkApplicationWindow
- GtkAssistant
- GtkColorChooserDialog
- GtkDialog
- GtkEmojiChooser
- GtkFileChooserDialog
- GtkFontChooserDialog
- GtkMessageDialog
- GtkPageSetupUnixDialog
- GtkPopover
- GtkPopoverMenu
- GtkPrintUnixDialog
- GtkShortcutsWindow
- GtkWindow

#### Interface structure

    struct GtkShortcutManagerInterface {
      void (* add_controller) (
        GtkShortcutManager* self,
        GtkShortcutController* controller
      );
      void (* remove_controller) (
        GtkShortcutManager* self,
        GtkShortcutController* controller
      );

    }

###### Interface members

`add_controller` |
    void (* add_controller) (
        GtkShortcutManager* self,
        GtkShortcutController* controller
      )
| No description available.
`remove_controller` |
    void (* remove_controller) (
        GtkShortcutManager* self,
        GtkShortcutController* controller
      )
| No description available.

#### Virtual methods

###### Gtk.ShortcutManager.add_controller

No description available.

###### Gtk.ShortcutManager.remove_controller

No description available.