styledMenuButton
inline 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.
inline fun NodeContainer.styledMenuButton(text: String? = null, graphic: Node? = null, vararg styleClass: String, id: String? = null): MenuButton
Add a styled MenuButton to this container.
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 NodeContainer.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 container.
Return
the styled control added.
Parameters
styleClass
the CSS style class.
id
the CSS id.
configuration
the configuration block.