[Tkinter-discuss] Pmw problem in cygwin with Tkinter

Michael Lange klappnase at freenet.de
Sat Jan 7 19:09:26 CET 2006


On Thu, 5 Jan 2006 13:26:14 -0700
Stewart Midwinter <stewart.midwinter at gmail.com> wrote:

Hi Stewart,

> I have a Tkinter app running on cygwin.  It includes a Test menu item
> that does nothing more than fetch a directory listing and display it
> in a Toplevel window (I'd use a tkMessageBox showinfo widget, but for
> some reason the text is invisible on cygwin).
> 
> After I close the Toplevel widget, all of the menus in my app behave
> as though they have no contents to them, i..e I can press on the File
> menu button, and see it depress, but the Exit submenu does not appear
> (and neither do any of the other menus' submenus).  However, a Quit
> button in my status bar does respond, so the problem lies with the
> menu.
> 
> Below are two apps that illustrate the problem. It's obvious that the
> problem is with Pmw, and in particular with the menubar widget.  The
> first test app uses Pmw, and displays the problem behaviour.   The
> second test app uses basic Tk menus, and does not have a problem.
> 
> Any clues?
> 

Sorry, I don't have much ideas here; however on my linux box your test app
runs fine, and if tkMessageBox does not work either it does not seem so
obvious to me that Pmw causes the problems.

Regards

Michael



More information about the Tkinter-discuss mailing list