We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2b84a8 commit 62b1e59Copy full SHA for 62b1e59
tkinter-1.py
@@ -0,0 +1,21 @@
1
+#importing
2
+from tkinter import *
3
+import tkinter as tk
4
+
5
+#calling Tk() method
6
+root = tk.Tk()
7
8
+#title() method is used to change the title
9
+root.title("My GUI")
10
11
+#geometry() method is used to resize the Gui Window
12
+root.geometry("250x250")
13
14
+#maxsize() method is used for define the maximum size of the window
15
+root.maxsize(300,300)
16
17
+#minsize() method is used for define the minimum size of the window
18
+root.minsize(200,200)
19
20
+#mainloop() is used to load the GUI Window
21
+root.mainloop()
0 commit comments