ui.Panel.remove

Removes the given widget from the panel, if it exists.

Returns whether the widget was successfully removed.

UsageReturns
Panel.remove(widget)Boolean
ArgumentTypeDetails
this: ui.panelui.PanelThe ui.Panel instance.
widgetui.WidgetThe widget to remove.