Want to become a Vibe Coder? Join Vibe Coding Training here
x
C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
How to Make Responsive Button in Python
WhatsApp
Ajay Malik
Jun 22
2016
3.2
k
0
0
reposive button.rar
Using this code you are create responsive button in python.
#Button2.py
from
tkinter
import
*
def
click():
print
(
"click button!"
)
w = Tk()
# Create the w(base) window where all widgets go
w = Label(w, text=
"Hello, world!"
)
# Create a label with words
w.pack()
# Put the label into the window
Button1 = Button(w, text=
"Exit"
,command=click)
Button1.pack()
w.mainloop()
# Start the event loop
Responsive Button
Python
Up Next
How to Make Responsive Button in Python