TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
How to Make Responsive Button in Python
Ajay Malik
Jun 22
2016
Code
2.9
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
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