how to change the text in the title bar of the Tkinter windows

Ali alikakakhel3 at
Wed Aug 18 00:17:30 CEST 2004

Eric Brunel <eric_brunel at> wrote in message news:<cfpous$kcr$1 at>...
> Ali wrote:
> > When I open a window using the Tkinter GUI thing the title bar always
> > says "Tk". I would like to know how to change this. I would also like
> > to know how to cjange it on any other popup windows I may have. Please
> > help.
> Just use the 'title' method on your windows. See paragraph 45 in 

I looked at the website but I did not understand. 

Um.... is this right? It is supposed to show a window with the
titlebar showing The Title.

from Tkinter import *

root = Tk()

root.title("The Title")


More information about the Python-list mailing list