Hello everything
Fredrik Lundh
fredrik at pythonware.com
Thu Sep 15 02:46:38 EDT 2005
David Pantoja wrote:
> I have an application in tkinter, one button call to another window,
> but the position of this window is random, i' whish to ask at the
> list, if exist a function to put the window in x position of the
> screen, if exist, which function is it?...
try
w.geometry("%+d%+d" % (xoffset, yoffset))
or
w.geometry("%dx%d%+d%+d" % (width, height, xoffset, yoffset))
also see:
http://smurl.name/w2s
</F>
More information about the Python-list
mailing list