-
Notifications
You must be signed in to change notification settings - Fork 567
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
Add Checkbox::set_text function. #1346
Conversation
Would the usage case in Crotchet still be covered by this if it was a builder fn |
Ah nevermind, I see that this is about updating the text value |
@ForLoveOfCats On adding setters in general to Druid: I believe Druid would benefit from such functionality. Recreating widgets to change their properties mostly works for widgets without internal state, but even those then require being properly reinitialized with |
I agree that mutating widgets in-tree is a reasonable thing to be doing. As this is not actually being passed a |
@ForLoveOfCats Sounds good! I renamed it to |
Missed the changelog but then it looks good to me 👍 |
a7ae176
to
57135f5
Compare
Oops, now it should be right! |
I need this to port
Checkbox
to Crochet and it seems useful enough to go into Druid directly.