toggleButton
inline fun ToggleButtonContainer.toggleButton(text: String? = null, graphic: Node? = null): ToggleButton
Add a ToggleButton to this container.
Return
the control added.
inline fun toggleButton(text: String? = null, graphic: Node? = null, configuration: ToggleButton.() -> Unit): ToggleButton
Create a ToggleButton with configuration block.
Return
the control created.
Parameters
configuration
the configuration block.
inline fun NodeContainer.toggleButton(text: String? = null, graphic: Node? = null, configuration: ToggleButton.() -> Unit): ToggleButton
inline fun ToggleButtonContainer.toggleButton(text: String? = null, graphic: Node? = null, configuration: ToggleButton.() -> Unit): ToggleButton
Add a ToggleButton with configuration block to this container.
Return
the control added.
Parameters
configuration
the configuration block.