public setFirst(widget as Widget) as Void:
Replaces the first pane.
Passing null clears the pane. The previous widget is detached before the replacement is installed, so a widget can safely move between containers without remaining painted or laid out by this splitter.
splitter.setFirst(TreeView()) splitter.setFirst(null)