Re: [Tkinter-discuss] Exit from method loop

2013-04-10 Thread Paul Simon
Andreas, Thanks very much for the response to my question. Using threading is beyond my programming capability and since I am only occasionally programming would not be worth my time to learn. I'm not clear about the second suggestion you made and would appreciate some clarification. At the

Re: [Tkinter-discuss] question on winfo_height

2013-04-10 Thread Michael Lange
Hi, On Wed, 10 Apr 2013 10:20:35 -0500 Bryan Oakley wrote: > winfo_height returns the actual, absolute height of the window. It's > not relative to anything. > > The reason the value is 1 is because the frame has yet to be displayed > on the screen. It is the actual updating of the screen that

Re: [Tkinter-discuss] question on winfo_height

2013-04-10 Thread Bryan Oakley
winfo_height returns the actual, absolute height of the window. It's not relative to anything. The reason the value is 1 is because the frame has yet to be displayed on the screen. It is the actual updating of the screen that gives a widget its dimensions, since that depends on the size of the con

[Tkinter-discuss] question on winfo_height

2013-04-10 Thread GKalman
Please look at the following Tkinter code fragment: #*** frm=Frame(root,bg="cyan") frm.pack(side=TOP, fill=BOTH, expand=YES) h= frm.winfo_height() print h, type(h) #*** It returns a value of h=1 and type= int I remember seeing somewhere that the returned a value of h=1 means that it i