ui.Panel.add

Adds a widget to the panel.

Returns this panel.

UsageReturns
Panel.add(widget)ui.Panel
ArgumentTypeDetails
this: ui.panelui.Panel

The ui.Panel instance.

widgetui.Widget

The widget to be added.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!