splitPane
inline fun <S> KWidget<S>.splitPane(vertical: Boolean = false, style: String = if (vertical) defaultVerticalStyle else defaultHorizontalStyle, skin: Skin = Scene2DSkin.defaultSkin, init: KSplitPane.(S) -> Unit = {}): KSplitPane
Return
a SplitPane instance added to this group. Note that this actor can store only two children.
Parameters
vertical
true if the widget is vertical, false if horizontal.
style
name of the widget style. Defaults to defaultVerticalStyle if the widget is vertical or defaultHorizontalStyle if the widget is horizontal.
skin
Skin instance that contains the widget style. Defaults to Scene2DSkin.defaultSkin.
init
will be invoked with the widget as "this". Consumes actor container (usually a Cell or Node) that contains the widget. Might consume the actor itself if this group does not keep actors in dedicated containers. Inlined.