forked from AuroraMiddleware/gtk
docs: Explain the shortcutcontroller example a bit
Add a reference to the the syntax for shortcut actions in builder files.
This commit is contained in:
parent
d1afe32762
commit
3108b8b4d3
@ -50,7 +50,7 @@
|
||||
* <property name='scope'>managed</property>
|
||||
* <child>
|
||||
* <object class='GtkShortcut'>
|
||||
* <property name='trigger'><Control>k</property>
|
||||
* <property name='trigger'><![CDATA[<Control>k]]></property>
|
||||
* <property name='action'>activate</property>
|
||||
* </object>
|
||||
* </child>
|
||||
@ -58,6 +58,11 @@
|
||||
* </child>
|
||||
* </object>
|
||||
* ]|
|
||||
*
|
||||
* This example creates a #GtkActivateAction for triggering the `activate`
|
||||
* signal of the GtkButton. See gtk_shortcut_action_parse_string() for the syntax
|
||||
* for other kinds of #GtkShortcutAction. See gtk_shortcut_trigger_parse_string()
|
||||
* to learn more about the syntax for triggers.
|
||||
**/
|
||||
|
||||
#include "config.h"
|
||||
|
Loading…
Reference in New Issue
Block a user