How to add new items to a HBox after being created #1764
Labels
resolved-locked
Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion.
Milestone
What would be the best way to add new items to an HBox once again being instantiated and displayed.
After some selection in another widget it is needed to add a new label to the HBox.
The only way I have found to do this is (in the change value event called function) to close it and recreate a new one to be displayed. This is,
This works, but there is another straightforward method to do that?
I hope to find a method like
HorizBox.children.append(NewLabelWidget) # but it is an inmutable tuple an raise an error
also i have tried to update the display, but the output header is duplicated (the old one is not erased)
It is possible to redisplay the HBox representation with the update in the same cell?
The text was updated successfully, but these errors were encountered: