-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
Is your feature request related to a problem? Please describe.
set_enabled and set_visible sound self explanatory to me, so I did not read the docs.
I wrote
ui.set_enabled(show_cool_widged);
ui.cool_widged(...);
ui.set_enabled(true);
ui.even_cooler_widged(...);and wonder why my cooler widged is disabled.
Describe the solution you'd like
Remove (or deprecate) ui.set_enabled(...) and ui.set_visible(...).
Add ui.disable() and ui.hide().
Additional context
No clue why this design was choosen, but I think a function named ui.set_enabled should be able to set the ui to enabled.