quoting from:

http://developer.gnome.org/doc/API/2.0/gtk/gtk-Keyboard-Accelerators.html#gtk-accelerator-parse


"Parses a string representing an accelerator. The format looks like 
"<Control>a" or "<Shift><Alt>F1" or "<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>".

If the parse fails, accelerator_key and accelerator_mods will be set to 
0 (zero).

accelerator :   string representing an accelerator
accelerator_key :       return location for accelerator keyval
accelerator_mods :      return location for accelerator modifier mask
"

Ok, so I give up.  Where exactly is this format documented?  For 
example, I can't seem to get "F1", "F2", etc to work and I'm not sure 
what to enter for the tab, space, page up/down, backspace, delete, etc keys.

Also, is there a list of non-allowed keys for menu accelerators?

Evidentally these cause problems:

(pcb:4288): Gtk-WARNING **: Unable to parse accelerator ':' for action 
'MenuItem66'
(pcb:4288): Gtk-WARNING **: Unable to parse accelerator '<shift>=' for 
action 'MenuItem133'
(pcb:4288): Gtk-WARNING **: Unable to parse accelerator '=' for action 
'MenuItem139'
(pcb:4288): Gtk-WARNING **: Unable to parse accelerator '/' for action 
'MenuItem187'
(pcb:4288): Gtk-WARNING **: Unable to parse accelerator '[' for action 
'MenuItem188'
(pcb:4288): Gtk-WARNING **: Unable to parse accelerator ']' for action 
'MenuItem189'

Thanks
-Dan
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to