FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Python-GUI-Project/tkinter-1.py at master · python-gui-application/Python-GUI-Project · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
python-gui-application
/
Python-GUI-Project
Public
forked from
Aashishkumar123/Python-GUI-Project
Notifications
You must be signed in to change notification settings
Fork
1
Star
3
Code
Pull requests
0
Actions
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
Python-GUI-Project
/
tkinter-1.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
22 lines (16 loc) · 515 Bytes
Breadcrumbs
Python-GUI-Project
/
tkinter-1.py
Copy path
File metadata and controls
22 lines (16 loc) · 515 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#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
.
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
()
Back
|
FazBrowse Home
|
New Git URL