'post'ing Tkinter menus on windows.....

D

Dan Greenblatt

I am trying to programmatically manipulate the menus in my
application, for purposes of a tutorial, showing users where things
are in our application's menu interface. My goal is to be able to
programmatically say

'show the menu cascade: Menu1 Menu2 Menu3 Action'

and these menus will post as they would if they were being scrolled
over by the mouse.

I've got this working on *nix platforms, but cannot get it to work on
windows because the menu.post() function doesnt return until you click
somewhere else in the app, while on *nix platforms, that method
returns immediately...
Does anyone have any suggestions as to what i would have to do to get
this to work, as far as messing with grab/focus/etc... ?

Thanks
Dan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top