styledMenu
inline fun styledMenu(text: String = "", graphic: Node? = null, vararg styleClass: String, id: String? = null): Menu
Create a styled Menu.
Return
the styled control created.
Parameters
styleClass
the CSS style class.
id
the CSS id.
inline fun MenuItemContainer.styledMenu(text: String = "", graphic: Node? = null, vararg styleClass: String, id: String? = null): Menu
inline fun MenuContainer.styledMenu(text: String = "", graphic: Node? = null, vararg styleClass: String, id: String? = null): Menu
Add a styled Menu to this container.
Return
the styled control added.
Parameters
styleClass
the CSS style class.
id
the CSS id.
inline fun styledMenu(text: String = "", graphic: Node? = null, vararg styleClass: String, id: String? = null, configuration: KtfxMenu.() -> Unit): Menu
Create a styled Menu with configuration block.
Return
the styled control created.
Parameters
styleClass
the CSS style class.
id
the CSS id.
configuration
the configuration block.
inline fun MenuItemContainer.styledMenu(text: String = "", graphic: Node? = null, vararg styleClass: String, id: String? = null, configuration: KtfxMenu.() -> Unit): Menu
inline fun MenuContainer.styledMenu(text: String = "", graphic: Node? = null, vararg styleClass: String, id: String? = null, configuration: KtfxMenu.() -> Unit): Menu
Add a styled Menu 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.