Hi,
Thus spoketh craf <[email protected]>
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
[email protected]
http://mail.python.org/mailman/listinfo/tkinter-discuss