customMenuItem

fun MenuItemManager.customMenuItem(content: Node? = null, hideOnClick: Boolean = true): CustomMenuItem

Add a CustomMenuItem to this manager.

Return

the control added.


inline fun customMenuItem(content: Node? = null, hideOnClick: Boolean = true, configuration: CustomMenuItem.() -> Unit): CustomMenuItem

Create a CustomMenuItem with configuration block.

Return

the control created.

Parameters

configuration

the configuration block.


inline fun MenuItemManager.customMenuItem(content: Node? = null, hideOnClick: Boolean = true, configuration: CustomMenuItem.() -> Unit): CustomMenuItem

Add a CustomMenuItem with configuration block to this manager.

Return

the control added.

Parameters

configuration

the configuration block.