Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to change the title of tkinter window in python

from tkinter import *
import time
import random

Main_screen = Tk()
#Register = Tk()
Main_screen.title("Log in screen")# this code is used to set the title of the widget 
Main_screen.geometry("500x500")


Label(Main_screen,text="Welcome").pack()

Main_screen.mainloop()
 
PREVIOUS NEXT
Tagged: #change #title #tkinter #window #python
ADD COMMENT
Topic
Name
9+4 =