checkMenuItem

fun MenuItemManager.checkMenuItem(text: String? = null, graphic: Node? = null): CheckMenuItem

Add a CheckMenuItem to this manager.

Return

the control added.


inline fun checkMenuItem(text: String? = null, graphic: Node? = null, configuration: CheckMenuItem.() -> Unit): CheckMenuItem

Create a CheckMenuItem with configuration block.

Return

the control created.

Parameters

configuration

the configuration block.


inline fun MenuItemManager.checkMenuItem(text: String? = null, graphic: Node? = null, configuration: CheckMenuItem.() -> Unit): CheckMenuItem

Add a CheckMenuItem with configuration block to this manager.

Return

the control added.

Parameters

configuration

the configuration block.