shortcutmanager: Convert docs

This commit is contained in:
Matthias Clasen 2021-02-27 10:55:47 -05:00 committed by Emmanuele Bassi
parent ded9903a83
commit 180de1041b
2 changed files with 3 additions and 8 deletions

View File

@ -35,6 +35,9 @@
* *
* Examples for widgets implementing `GtkShortcutManager` are * Examples for widgets implementing `GtkShortcutManager` are
* [class@Gtk.Window] and [class@Gtk.Popover]. * [class@Gtk.Window] and [class@Gtk.Popover].
*
* Every widget that implements `GtkShortcutManager` will be used as a
* %GTK_SHORTCUT_SCOPE_MANAGED.
*/ */
G_DEFINE_INTERFACE (GtkShortcutManager, gtk_shortcut_manager, G_TYPE_OBJECT) G_DEFINE_INTERFACE (GtkShortcutManager, gtk_shortcut_manager, G_TYPE_OBJECT)

View File

@ -34,14 +34,6 @@ G_BEGIN_DECLS
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL
G_DECLARE_INTERFACE (GtkShortcutManager, gtk_shortcut_manager, GTK, SHORTCUT_MANAGER, GtkWidget) G_DECLARE_INTERFACE (GtkShortcutManager, gtk_shortcut_manager, GTK, SHORTCUT_MANAGER, GtkWidget)
/**
* GtkShortcutManager:
*
* This object is used to implement support for #GtkShortcutScopes. Every
* widget that implements #GtkShortcutManager will be used as a
* %GTK_SHORTCUT_SCOPE_MANAGED.
*/
/** /**
* GtkShortcutManagerInterface: * GtkShortcutManagerInterface:
* @add_controller: Add a #GtkShortcutController to be managed. * @add_controller: Add a #GtkShortcutController to be managed.