prompt

abstract fun prompt(title: String, icon: Icon<MenuBehavior.ItemInfo>? = null, fired: (MenuItem) -> Unit): MenuItem(source)

Adds an item to the menu that will invoke fired when it is triggered. These items should be used when the user will be prompted before taking any action.

Parameters

title

of the item

icon

of the item

fired

invoked when this item is triggered