menu

fun MenuItemManager.menu(text: String = "", graphic: Node? = null): Menu
fun MenuManager.menu(text: String = "", graphic: Node? = null): Menu

Add a Menu to this manager.

Return

the control added.


inline fun menu(text: String = "", graphic: Node? = null, configuration: KtfxMenu.() -> Unit): Menu

Create a Menu with configuration block.

Return

the control created.

Parameters

configuration

the configuration block.


inline fun MenuItemManager.menu(text: String = "", graphic: Node? = null, configuration: KtfxMenu.() -> Unit): Menu
inline fun MenuManager.menu(text: String = "", graphic: Node? = null, configuration: KtfxMenu.() -> Unit): Menu

Add a Menu with configuration block to this manager.

Return

the control added.

Parameters

configuration

the configuration block.