tkinter window title code example
Example 1: change tkinter window name
windowName.title('Window Title')
#Example
import tkinter
window = tkinter.Tk()
window.title('My Title')
Example 2: tkinter window title
from tkinter import *
window = Tk() # Create instance
window.title("This is the window title!!!") # Add a title
Example 3: title tikinter
from tkinter import Tk, Button, Frame, Entry, END
class ABC(Frame):
def __init__(self,parent=None):
Frame.__init__(self,parent)
self.parent = parent
self.pack()
ABC.make_widgets(self)
def make_widgets(self):
self.root = Tk()
self.root.title("Simple Prog")