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.Panel

The ui.Panel instance.

widgetui.Widget

The widget to remove.