[Tkinter-discuss] [Fwd: Re: Upload control parameter sashpos to load the program.]

craf prog at vtr.net
Sat Dec 18 02:51:47 CET 2010


--------- Mensaje reenviado --------
> De: Michael Lange <klappnase at web.de>
> Para: tkinter-discuss at python.org
> Asunto: Re: [Tkinter-discuss] Upload control parameter sashpos to load
> the program.
> Fecha: Sat, 18 Dec 2010 02:41:57 +0100
> 
> Hi,
> 
> Thus spoketh craf <prog at vtr.net> 
> unto us on Fri, 17 Dec 2010 19:49:58 -0300:
> 
> > Hi.
> > 
> > I'm trying that opening the window, the position of the handle, is
> > located where you want, using the method "sashpos", in the following
> > code....
> (...)
> > --------------------------------------------------------------------
> > The problem is that the method is not taken into account when loading
> > the window.
> > 
> > There is an event that allows to open the program, run the method?.
> 
> Try to call update_idletasks() before calling sashpos(), so tk can
> calculate the size of the widgets first. I haven't tried it right now,
> but this is usually the first attempt in such cases and will probably
> help ;)
> 
> Regards
> 
> Michael
> 
> 
> .-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.
> 
> Superior ability breeds superior ambition.
> 		-- Spock, "Space Seed", stardate 3141.9
> _______________________________________________
> Tkinter-discuss mailing list
> Tkinter-discuss at python.org
> http://mail.python.org/mailman/listinfo/tkinter-discuss

Hi Michael.

This method was that I need!.
Thank you very much!.

Regards

Cristian Abarzua



More information about the Tkinter-discuss mailing list