[Pythonmac-SIG] Tkinter questions

Samuel Smith smith@oe.fau.edu
Thu, 22 Apr 1999 10:26:29 -0400


Peter

>From: Peter Sommerfeld <peter.sommerfeld@gmx.de>
>Subject: Re: [Pythonmac-SIG] Tkinter questions
>
>A wild guess (don't have TK installed)
>
>That looks like similar problems I had when running
>another event loop under the IDE, How about storing
>and restoring the menubar ?
>
># store
>oldBar = Menu.GetMenuBar()
>
># run TK
>
># restore
>Menu.ClearMenuBar()
>Menu.SetMenuBar(oldBar)
>Menu.DrawMenuBar()

This does not work. The system crashes when I call .mainloop(). I now can't get
v 1.5.1 to work either it looks like it all depends on what menu ID python
uses when it boots. If its the same one as Tk I get a crash.
 Python prints out this

MenuID256 is already in use! Fatal Python error: Tcl/Tk panic

It looks like the fix has to come in the c code for Tk

Sam,


**********************************

Samuel M. Smith Ph.D.
Associate Professor
Director Advanced Marine Systems Lab


**************(Dania Building)***********************

Institute for Ocean and Systems Engineering
Florida Atlantic University
Rm. 225 B, SeaTech Bldg.
101 North Beach Road,  Dania, FL 33004

(voice) 954-924-7232
(secretary Paula) 954-924-7230
(fax) 954-924-7233
(email) smith@oe.fau.edu
(web) http://www.oe.fau.edu

************** (Boca Raton Campus) *******************
Ocean Engineering Dept. Bldg. 36
Florida Atlantic University
777 Glades Rd, Boca Raton FL 33431

(voice) 561-297-3606
(reception) 561-297-3430
(fax) 561-297-3885
(email) smith@oe.fau.edu
(web) http://www.oe.fau.edu

***********************************