Tkinter: centering windows on screen

Fredrik Lundh effbot at
Sun Apr 9 21:28:29 CEST 2000

Kilian Lorenz <kilian.lorenz at> wrote:
> >> that works but doesn't help me much because I'm interested in the
> >> return value. So I would really like to know how to call Tk commands
> >> from within Python because .... blah blah
> Now I also found out how this works ... pretty easy with
> <widget><command>, <parameter>, <next parameter> ...)
> You just have to browse and get the answers to all your
> questions !  :)

if you browsed the source, how come you didn't find the
corresponding Tkinter methods?

windows geometry:

file dialogues:

(direct pointers to the current draft; official version at will be synchronized next week).


More information about the Python-list mailing list