[wxPython-users] problems listening for an event

Christopher Barker Chris.Barker at noaa.gov
Tue May 29 23:44:05 PDT 2007


7stud wrote:
> 1) Can anyone tell me why the code that's commented fails to call 
> the event handler:

Sure. I don't think a KEY_DOWN event is a command event, so it only goes 
to the Window it was generated in.

http://wiki.wxpython.org/self.Bind_vs._self.button.Bind

-chris

-- 
Christopher Barker, Ph.D.
Oceanographer

NOAA/OR&R/HAZMAT         (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception




More information about the wxpython-users mailing list