--------- Mensaje reenviado --------
> De: Michael Lange <klappn...@web.de>
> Para: tkinter-discuss@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 <p...@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@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

_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to