I'm trying (in python) to use gtk.Widget.add_accelerator... what should I pass as accel_key to use the F keys? Have attempted to check the docs to no avail. Thanks
+2
A:
Consider using gtk.accelerator_parse()
. Here is an informative post on dealing with keyboard codes in pygtk.
anthony
2009-06-06 19:07:01