Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to configure a button in python tkinter

import Tkinter
app = Tk()
def function():
  pass
button = Button(app, text="write whatevr you want", width=10, command=function)
button.config(text="you can change up to a single parameter per config function")
 
PREVIOUS NEXT
Tagged: #configure #button #python #tkinter
ADD COMMENT
Topic
Name
5+4 =