ui.Panel.insert

Inserts a widget into to the panel at the specified index.

Returns this panel.

UsageReturns
Panel.insert(index, widget)ui.Panel
ArgumentTypeDetails
this: ui.panelui.Panel

The ui.Panel instance.

indexNumber

The index at which to insert the widget.

widgetui.Widget

The widget to insert.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!