diff --git a/gtk/gtkshortcutcontroller.c b/gtk/gtkshortcutcontroller.c index d18b6902f2..d7534001fe 100644 --- a/gtk/gtkshortcutcontroller.c +++ b/gtk/gtkshortcutcontroller.c @@ -36,6 +36,28 @@ * * #GtkShortcutController implements #GListModel for querying the shortcuts that * have been added to it. + * + * # GtkShortcutController as a GtkBuildable + * + * GtkShortcutControllers can be creates in ui files to set up shortcuts + * in the same place as the widgets. + * + * An example of a UI definition fragment with GtkShortcutController: + * |[ + * + * + * + * managed + * + * + * <Control>k + * activate + * + * + * + * + * + * ]| **/ #include "config.h"