Answers for "how to name a gui with tkinter"

1

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")
Posted by: Guest on July-10-2020
0

how to define the name of your tkinter window

from tkinter import *
   
root = Tk()
root.title("Calculas")

root.mainloop()
Posted by: Guest on August-20-2020

Python Answers by Framework

Browse Popular Code Answers by Language