ui.root.insert

Stay organized with collections Save and categorize content based on your preferences.

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.