styledMenuButton

fun styledMenuButton(text: String? = null, graphic: Node? = null, vararg styleClass: String, id: String? = null): MenuButton

Create a styled MenuButton.

Return

the styled control created.

Parameters

styleClass

the CSS style class.

id

the CSS id.


fun NodeManager.styledMenuButton(text: String? = null, graphic: Node? = null, vararg styleClass: String, id: String? = null): MenuButton

Add a styled MenuButton to this manager.

Return

the styled control added.

Parameters

styleClass

the CSS style class.

id

the CSS id.


inline fun styledMenuButton(text: String? = null, graphic: Node? = null, vararg styleClass: String, id: String? = null, configuration: KtfxMenuButton.() -> Unit): MenuButton

Create a styled MenuButton with configuration block.

Return

the styled control created.

Parameters

styleClass

the CSS style class.

id

the CSS id.

configuration

the configuration block.


inline fun NodeManager.styledMenuButton(text: String? = null, graphic: Node? = null, vararg styleClass: String, id: String? = null, configuration: KtfxMenuButton.() -> Unit): MenuButton

Add a styled MenuButton with configuration block to this manager.

Return

the styled control added.

Parameters

styleClass

the CSS style class.

id

the CSS id.

configuration

the configuration block.