shortcutmanager: Add some more docs
authorMatthias Clasen <mclasen@redhat.com>
Wed, 25 Mar 2020 21:13:37 +0000 (17:13 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 26 Mar 2020 03:14:45 +0000 (23:14 -0400)
gtk/gtkshortcutmanager.c

index 71a1b35eb12ead8553b72a48d8f1b99ecb2e2413..c6530c0efe968c93fd84e9519e86e2e2a5936103 100644 (file)
  *
  * 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.
  */
 
 G_DEFINE_INTERFACE (GtkShortcutManager, gtk_shortcut_manager, G_TYPE_OBJECT)