[Tutor] 1 or 2 Tkinter Canvas questions
Alan Gauld
alan.gauld at blueyonder.co.uk
Tue Mar 9 19:05:39 EST 2004
> (2) Why does apparently
> self.geometry("400x300+50+50")
> determine the size of the canvas packed into the
> Tk() - window and not the sizue of the Tk-window
> it*self*, which is 408*327 pixels?
Guessing, but that looks like the size of the border.
ie 27 for the title bar and bottom frame and
8 (= 2x4) for the frame sides?
Whereas the canvas is the drawable bit inside.
Mebbe?
Alan G.
More information about the Tutor
mailing list