ui.root.insert

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

Returns the root panel.

UsageReturns
ui.root.insert(index, widget)ui.Panel
ArgumentTypeDetails
indexNumberThe index at which to insert the widget.
widgetui.WidgetThe widget to insert.