menu

inline fun MenuItemContainer.menu(text: String = "", graphic: Node? = null): Menu
inline fun MenuContainer.menu(text: String = "", graphic: Node? = null): Menu

Add a Menu to this container.

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 MenuItemContainer.menu(text: String = "", graphic: Node? = null, configuration: KtfxMenu.() -> Unit): Menu
inline fun MenuContainer.menu(text: String = "", graphic: Node? = null, configuration: KtfxMenu.() -> Unit): Menu

Add a Menu with configuration block to this container.

Return

the control added.

Parameters

configuration

the configuration block.