-
Notifications
You must be signed in to change notification settings - Fork 844
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Button.update
method?
#3603
Comments
At the present time, it's nonsensical for The point of So, we'll drop inheritance of |
Thanks @rodrigogiraoserrao - I didn't think to check whether |
I get it, @TomJGooding. I checked. I replaced |
Don't forget to star the repository! Follow @textualizeio for Textual updates. |
I'm often caught out by
Button.update
not updating the label (or doing anything!)I thought about overriding the method to simply assign
Button.label
, but the argument type for theStatic
base class isRenderableType
whereas the button label isTextType
(I'm afraid I don't fully understand the difference!)Am I the only one who gets caught out by this?
The text was updated successfully, but these errors were encountered: