#๐ Tkinter button text/image not updating after incrementing a value in another class
6 messages ยท Page 1 of 1 (latest)
@oak path
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
Thanks for any response
how are you initializing the button object itself? because when you have a class you should be creating an object and then doing modification to that instance of the object. In my early and limited experience with OOP in python my most common mistakes with classes or objects not behaving as expected is when like I am referencing the base class instead of the instantiated object by mistake or even internally where like I was setting a property within the class rather than giving the class that property to use and modify.
!close
This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.