mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-18 17:30:10 +00:00
[docs] improve docs for gtk_accelerator_parse().
Link to gdk_keyval_from_name() and give example for non obvious accelerator strings.
This commit is contained in:
parent
edfcc3dd41
commit
d4a159d488
@ -1131,6 +1131,9 @@ is_hyper (const gchar *string)
|
||||
* "<Release>z" (the last one is for key release).
|
||||
* The parser is fairly liberal and allows lower or upper case,
|
||||
* and also abbreviations such as "<Ctl>" and "<Ctrl>".
|
||||
* Key names are parsed using gdk_keyval_from_name(). For character keys the
|
||||
* name is not the symbol, but the lowercase name, e.g. one would use
|
||||
* "<Ctrl>minus" instead of "<Ctrl>-".
|
||||
*
|
||||
* If the parse fails, @accelerator_key and @accelerator_mods will
|
||||
* be set to 0 (zero).
|
||||
|
Loading…
Reference in New Issue
Block a user