<!--/*SC*/DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"/*EC*/-->
<html><head><title></title><style type="text/css"><!--body{padding:1ex;margin:0px;font-family:sans-serif;font-size:small;}a[href]{color:-moz-hyperlinktext !important;text-decoration:-moz-anchor-decoration;}blockquote{margin:0;border-left:2px solid #144fae;padding-left:1em;}blockquote blockquote{border-color:#006312;}blockquote blockquote blockquote{border-color:#540000;}--></style></head><body><div style="font-family: Arial; font-size: medium;" dir="ltr"><div>What determines the initial position of Tkinter's root and Toplevel() windows?</div>
<div>&nbsp;</div>
<div>Under Windows (running Python 2.7), my root window appears to show up in random positions (usually clustered around the upper left of my display). </div>
<div>&nbsp;</div>
<div>The position of my first Toplevel() window appears to be random as well. Subsequent Toplevel() windows appear offset from the position of the first Toplevel() window by a consistent(?) amount of space. I think the pattern for subsequent Toplevel() window positions might be described as a &quot;tiled&quot; effect?</div>
<div>&nbsp;</div>
<div>Are these Tkinter specific behaviors or OS specific behaviors?</div>
<div>&nbsp;</div>
<div>What approach do you take with your window placement:</div>
<div>&nbsp;</div>
<div>- accept the default window position as given by Tkinter</div>
<div>- proactively specify a window position</div>
<div>- center your windows on the desktop</div>
<div>- remember and restore window positions (and sizes?) across sessions</div>
<div>- other</div>
<div>&nbsp;</div>
<div>Thank you,</div>
<div>Malcolm</div></div></body></html>