ui.SplitPanel.setPanel

Returns the requested panel in the split panel.

UsageReturns
SplitPanel.setPanel(index, panel)ui.Panel
ArgumentTypeDetails
this: ui.splitpanelui.SplitPanel

The ui.SplitPanel instance.

indexNumber

0 for top or left panel, 1 for bottom or right panel.

panelui.Panel

The panel to add to the split panel.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!