public setSecond(widget as Widget) as Void:
Replaces the second pane.
splitter.setSecond(TabWidget())