ui.Panel.add

Adds a widget to the panel.

Returns this panel.

UsageReturns
Panel.add(widget)ui.Panel
ArgumentTypeDetails
this: ui.panelui.PanelThe ui.Panel instance.
widgetui.WidgetThe widget to be added.