I have an application with a Glade GUI, I have a Gtkframe with a GTkbutton in. I can change the label on the frame, but I want to change the text on the button depending on user input. I have done this before but I’ve forgotten how. (I think I was using Gtk but it might have been Qt).
I have read the documentation and the guide linked to on this site. Changing the frame label works:
Changing the button label doesn’t:
Error: “AttributeError: ‘function’ object has no attribute ‘set_label’”
Could someone jog my memory?