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
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/