[pygtk] Alt+Return accelerator

Jamie Norrish jamie at artefact.org.nz
Sat Dec 31 13:49:21 WST 2005


John Finlay writes:

 > gtk.accelerator_parse('<alt>Return')
 > 
 > will return:
 > 
 > (65293, <flags GDK_MOD1_MASK of type GdkModifierType>)

Well, I'm slightly shocked and rather abashed, since this was what I
originally tried, along with a number of variations, before posting my
original message, and received (0, <flags...>) - only to find, having
tried it again just now, that it works perfectly. So, obviously, I was
doing something other than what I thought.

Thank you for setting me straight.

Jamie
-- 
Artefact Publishing: http://www.artefact.org.nz/
GnuPG Public Key: http://www.artefact.org.nz/people/jamie.html


More information about the pygtk mailing list