menuItem
Add a MenuItem to this container.
Return
the control added.
inline fun menuItem(text: String? = null, graphic: Node? = null, configuration: MenuItem.() -> Unit): MenuItem
Create a MenuItem with configuration block.
Return
the control created.
Parameters
configuration
the configuration block.
inline fun MenuItemContainer.menuItem(text: String? = null, graphic: Node? = null, configuration: MenuItem.() -> Unit): MenuItem
Add a MenuItem with configuration block to this container.
Return
the control added.
Parameters
configuration
the configuration block.