diff --git a/tkinter-1.py b/tkinter-1.py index 04bc05f..a0282e4 100644 --- a/tkinter-1.py +++ b/tkinter-1.py @@ -1,22 +1,8 @@ -#importing -from tkinter import * import tkinter as tk -#calling Tk() method -root = tk.Tk() -#its used for creating gui window - -#title() method is used to change the title +root = tk.Tk() root.title("My GUI") - -#geometry() method is used to resize the Gui Window root.geometry("250x250") - -#maxsize() method is used for define the maximum size of the window -root.maxsize(300,300) - -#minsize() method is used for define the minimum size of the window -root.minsize(200,200) - -#mainloop() is used to load the GUI Window -root.mainloop() +root.maxsize(300, 300) +root.minsize(200, 200) +root.mainloop() \ No newline at end of file