Label, Geometry, Maxsize & Minsize | Python Tkinter GUI Tutorial In Hindi #4

Code as described/written in the video


from tkinter import *

imaginary_tech_root = Tk()

# Width x Height
imaginary_tech_root.geometry("644x434")

# width, height
imaginary_tech_root.minsize(300,100)

# width, height
imaginary_tech_root.maxsize(1200, 988)

shakaib = Label(text="Shakaib is a good boy and this is his GUI")
shakaib.pack()


imaginary_tech_root.mainloop()


Be the first person to comment!

Comments(0)