Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

make button in tk

from tkinter import*
Window = Tk()
def YourCommand():
  print ("Button Clicked")
button = Button(Window, text="Click Me", command=YourCommand)
 
PREVIOUS NEXT
Tagged: #button #tk
ADD COMMENT
Topic
Name
5+1 =