I have a window that is connected to the 'key_press_event', and in
the window there are some entrys and spinbuttons in addition to
other widgets.

I want the callback function for the 'key_press_event' to know if
some of the entrys have the keyboard focus so it can ignore those
keypresses.

Are there some magic that can do this, or is the best way to connect
each entry to the 'focus_in|out_event' and set a global flag for the
'key_press_event' callback to check?

-- 
Tom Cato Amundsen <[EMAIL PROTECTED]>
GNU Solfege - free eartraining, http://www.gnu.org/software/solfege/

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to