Re: Tkinter problem with 1.2

fergal@fiachra.ucd.ie
Thu, 13 Apr 95 04:28:04 +0100

On Thu Apr 13, 95, at 11:31:42, Anthony Baxter wrote:

>
>> >>> from Tkinter import *
>> >>> b = Button()
>> >>> b.pack()
>> if I do this under 1.1.1 (on any of the three OSs) I *DO* see a window
>> and it shrinks to the newly-visible Button when I "b.pack()". Any hints?
>
>Did you build 1.1.1 with readline, and 1.2 without? With a python
>built with readline support, you dont need to do the widg.mainloop()
>thing to get things to happen - if you did build it without readline,
>you'll need to tack a b.mainloop() onto the end.

I think you had better check out your facts... I just tried

Python 1.2 (Apr 11 1995)
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> from Tkinter import *
>>> b = Button()
>>> b.pack()

and nothing appeared until I did

>>> b.mainloop()

even though I DO have readline compiled in.

My system is an DEC OSF/1 (DEC UNIX) 3.0 system.

Fergal.

--
/ Fergal Mc Carthy <fergal@fiachra.ucd.ie>, | Fergal Mc Carthy,  \
| Advanced Computational Research Group,    | 31 Fosterbrook,    |
| Chemistry Department., U.C.D., Belfield,  | Stillorgan Road,   |
| Dublin 4, Ireland.                        | Dublin 4, Ireland. |
\ Ph: +353-1-706{2284,2418}                 | Ph: +353-1-2601304 /