Setting Window Size using Pack Under Tkinter
arjen.dijkstraNoSpam at hccnet.nl
Fri Jan 16 13:50:05 CET 2004
from Tkinter import *
gui.geometry("+%d+%d" %(300, 100))
"Fuzzyman" <michael at foord.net> schreef in bericht
news:8089854e.0401160134.5674a86c at posting.google.com...
> I'm having trouble implementing my GUI using Tkinter......
> I've been working through the Tkinter tutorials from 'Programming
> Python' and am generally happy enough with the functionality and feel
> of the results *but* - I can't see how to set the size of the root
> window (or any top level window) and to stop it being resized........
> Thanks for any help.
> Yet Another Python Links Page
> Python Utils
> The Place where headspace meets cyberspace. Online resource site -
> covering science, technology, computing, cyberpunk, psychology,
> spirituality, fiction and more.
> Atlantibots - stomping across the worlds of Atlantis.
> Everyone has talent. What is rare is the courage to follow talent
> to the dark place where it leads. -Erica Jong
> Ambition is a poor excuse for not having sense enough to be lazy.
> -Milan Kundera
More information about the Python-list