Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

ttk button

buttonA = ttk.Button(self, text="page one", command=lambda: controller.show_frame(pageOne))
buttonA.pack()

def my_function() :
	print("foobar")
buttonB = ttk.Button(self, text="print", command=my_function)
buttonB.pack()

 
PREVIOUS NEXT
Tagged: #ttk #button
ADD COMMENT
Topic
Name
5+8 =