Answers for "ttk button"

0

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()
Posted by: Guest on January-14-2022

Python Answers by Framework

Browse Popular Code Answers by Language