[Tkinter-discuss] Top-level window geometry
Gabor Kalman
Kalman_G at msn.com
Mon Nov 17 18:08:06 CET 2008
In the code-snipet below, the following is printed as output:
1x1+0+0
Question #1: why??? (is this somekind of a "normalized" or "per-unit" output?)
=======
Question#2: the x=0, y=0 position is ignored when the root and the canvas are displayed. Why???
========
#==============================
from Tkinter import *
root=Tk()
root.geometry('600x400+0+0') #why???????
print root.winfo_geometry()
canvas=Canvas(root,bg='green')
canvas.pack()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tkinter-discuss/attachments/20081117/8b239b7a/attachment.htm>
More information about the Tkinter-discuss
mailing list