Constructor
new(?data:Dynamic, index:Int = -1, ?text:String)
Creates a new MenuItemState
object with the given arguments.
Available since
1.4.0
.Variables
index:Int = -1
The position of the data within the collection used as the Menu
data provider.
Available since
1.4.0
.text:String
Returns the text to display for the item, as returned by the function
MenuBar.itemToText
or Menu.itemToText
.
Available since
1.4.0
.See also: