Skip to content Skip to sidebar Skip to footer

Tkinter Callback In A Class

I understand concept callback button in function and procedure.How to apply this code in class?I have problem about callback button in Tkinter for get value from class.I can't acc

Solution 1:

What you need to do is use: command=self.callback instead of command=callback.

Also, it should be print "hello"


Post a Comment for "Tkinter Callback In A Class"