styledMenuBar

fun styledMenuBar(vararg styleClass: String, id: String? = null): MenuBar

Create a styled MenuBar.

Return

the styled control created.

Parameters

styleClass

the CSS style class.

id

the CSS id.


fun NodeManager.styledMenuBar(vararg styleClass: String, id: String? = null): MenuBar

Add a styled MenuBar to this manager.

Return

the styled control added.

Parameters

styleClass

the CSS style class.

id

the CSS id.


inline fun styledMenuBar(vararg styleClass: String, id: String? = null, configuration: KtfxMenuBar.() -> Unit): MenuBar

Create a styled MenuBar 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.styledMenuBar(vararg styleClass: String, id: String? = null, configuration: KtfxMenuBar.() -> Unit): MenuBar

Add a styled MenuBar 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.