Tkinter popup menu

Chuckk Hubbard badmuthahubbard at
Tue Sep 2 12:03:15 CEST 2008

On Thu, Aug 28, 2008 at 3:50 AM, Carl <c.groner at> wrote:
> "Chuckk Hubbard" <badmuthahubbard at> writes:
>> Right-click popup menu.  None of the options that come from the
>> cascades can be selected with the mouse.  If you select a submenu with
>> the mouse and then use the arrow keys and enter key to select an
>> option, it works, but the menu remains on the canvas.  If you click
>> the option with the mouse, the menu disappears but the function
>> doesn't get called.
>> Can someone tell me why?
>> -Chuckk
>> --
> Try creating the "main" popup menu before the sub-menus, and when
> instantiating the sub-menus, pass the main menu as the "master"
> instead of "self.myparent":

Thanks Carl, that indeed did it.

> Hope that helps.
> Carl.
> --


More information about the Python-list mailing list