Python tkinter Class Object – How to change button text when button is defined in one Class, and its command function is defined outside
I have defined Class GUI which creates a button with a YES text on it.
I do not understand how I should pass the command to it when the function is defined outside of the Class.