Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to change the title of a tkinter widnow

# To change the window title in Tkinter, do the following:

from tkinter import * # we import everyhting from tkinter

window = Tk() # creates a window
window.title("My Tkinter Window") # this will change the name of the window
window.geometry("300x200") # the size of the window

# This was basic Tkinter. Hope you found it useful!

# By Codexel
 
PREVIOUS NEXT
Tagged: #change #title #tkinter #widnow
ADD COMMENT
Topic
Name
6+4 =