How te remove (not hide) elements #49
Replies: 3 comments 2 replies
-
remove ? |
Beta Was this translation helpful? Give feedback.
-
I would like to know how to do this, too. For example, if in a program a user moves between different "screens" I might want to be able to clear things and redraw the screen with different widgets. |
Beta Was this translation helpful? Give feedback.
-
My recent pull request has been merged, now WidgetHandler does not hold a strong reference to element. That means that you have the absolute control over the widgets life cycle and the widget instantce will be destructed as soon as you hold no strong reference to it. |
Beta Was this translation helpful? Give feedback.
-
Is there a way to remove all elements or a specific element (e.g. a button) instead of only hiding it?
Beta Was this translation helpful? Give feedback.
All reactions