Window position

Sam Marrocco samSPAMMENOT at
Sun Feb 2 20:44:01 CET 2003

Thank you Ricardo, that what I needed.

Ricardo wrote:
>>How can I 'force' a tk window to open at a given (pixel) position & size
>>on a screen?
> To set size and position of window 'root':
>   geom = "%dx%d%+d%+d" % (width, height, xoffset, yoffset)  # where all
> coordinates are given in pixels.
>   root.geometry(geom)

Sam J. Marrocco
Sr. Visual Effects Artist/R&D
Travelling Pictures/GTN
Inferno, Flame, Houdini, Maya, All that cool stuff!
"The fact that no one understands you doesn't make you an artist."

More information about the Python-list mailing list