forked from AuroraMiddleware/gtk
docs: Improve shortcut trigger docs
Point out the need to escape <> in xml.
This commit is contained in:
parent
3108b8b4d3
commit
03601cb794
@ -122,6 +122,10 @@ gtk_shortcut_trigger_trigger (GtkShortcutTrigger *self,
|
||||
* - two valid trigger strings, separated by a `|` character, for a
|
||||
* #GtkAlternativeTrigger: `<Control>q|<Control>w`
|
||||
*
|
||||
* Note that you will have to escape the `<` and `>` characters when specifying
|
||||
* triggers in XML files, such as GtkBuilder ui files. Use `<` instead of
|
||||
* `<` and `>` instead of `>`.
|
||||
*
|
||||
* Returns: (nullable) (transfer full): a new #GtkShortcutTrigger
|
||||
* or %NULL on error
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user