[pygtk] Special Keys for Accelerators
JSeipp
jseipp at web.de
Sun Mar 29 09:01:33 WST 2009
Hello,
i have searched everywhere but couldn't find a solution to this:
How do I assign an accelerator to a special key combination like "Ctrl"
+ "Page-Up" ?
Widget.add_accelerator('clicked', self.accel_group, ord('U'),
gtk.gdk.CONTROL_MASK, gtk.ACCEL_VISIBLE) works for single letters like
"U", but how can I get the keyval for "Page-Up". Any ideas?
Thanks in advance,
Jendrik
More information about the pygtk
mailing list