[Tkinter-discuss] Bind to event related to currently selected menu item

Kevin Walzer kw at codebykevin.com
Fri Nov 19 01:29:19 CET 2010


On 11/18/10 5:56 PM, python at bdurham.com wrote:
> Wondering if there's a menu event I can bind to that's related to the
> currently selected menu item? By menu item I mean the items that show up
> in a popup menu like New, Open, Save, etc.
>
> Use case: I would like to update a statusbar area of our application
> with a description of the currently selected menu item.
> Malcolm
>

Try <<MenuSelect>>.

-- 
Kevin Walzer
Code by Kevin
http://www.codebykevin.com


More information about the Tkinter-discuss mailing list