Menu events handling
yves.daoust at tiscali.be
Wed Sep 8 09:40:46 CEST 2004
I am rather new to Python but a skilled programmer anyway.
I am working on a prototype application that has a main menu with
cascaded sub-menus and commands. I'd like that even handlers be called
whenever the user sweeps the mouse cursor over a menu item or clicks
any menu item (command or not).
I have assigned functions as 'command' or 'postcommand' options of my
menu objects, but this does not give the intended effect.
I have tried to bind different events (<Enter> / <Activate> /
<FocusIn>...) to these, but none seems to work (even after setting
'takefocus' to true).
Can anyone help ?
More information about the Python-list