checkMenuItem
inline fun MenuItemContainer.checkMenuItem(text: String? = null, graphic: Node? = null): CheckMenuItem
Add a CheckMenuItem to this container.
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 MenuItemContainer.checkMenuItem(text: String? = null, graphic: Node? = null, configuration: CheckMenuItem.() -> Unit): CheckMenuItem
Add a CheckMenuItem with configuration block to this container.
Return
the control added.
Parameters
configuration
the configuration block.