1
2windowName.title('Window Title')
3
4#Example
5import tkinter
6window = tkinter.Tk()
7window.title('My Title')
1from tkinter import *
2window = Tk() # Create instance
3window.title("This is the window title!!!") # Add a title
1from tkinter import Tk, Button, Frame, Entry, END
2
3class ABC(Frame):
4 def __init__(self,parent=None):
5 Frame.__init__(self,parent)
6 self.parent = parent
7 self.pack()
8 ABC.make_widgets(self)
9
10 def make_widgets(self):
11 self.root = Tk()
12 self.root.title("Simple Prog")