Thanks.
S
"Lonnie Princehouse" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Tkinter takes strings as its arguments; it's TCL's legacy.  You can use
> string formatting for this:
>
> x = width/2-40
> y = height/2-30
>
> root.geometry('%ldx%ld+%ld+%ld' % (width, height, x, y))
> 


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to