[gtk/wip/matthiasc/shortcut-4: 84/85] shortcutmanager: Add some more docs
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/shortcut-4: 84/85] shortcutmanager: Add some more docs
- Date: Thu, 26 Mar 2020 03:22:56 +0000 (UTC)
commit 1ec2d1d9f1efcb9546d519d10622933e90f07b20
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Mar 25 17:13:37 2020 -0400
shortcutmanager: Add some more docs
gtk/gtkshortcutmanager.c | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/gtk/gtkshortcutmanager.c b/gtk/gtkshortcutmanager.c
index 71a1b35eb1..c6530c0efe 100644
--- a/gtk/gtkshortcutmanager.c
+++ b/gtk/gtkshortcutmanager.c
@@ -30,6 +30,13 @@
*
* 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]