MenuItem.applyStyle Method
Applies the given menu item style to this menu control, but does not set it to the properties on this control directly.
Parameters
- menuItemStyle
-
Type: MenuItemStyle
(optional) The menu item style to apply to this menu item. If it's not provided, this item's properties including stateStyles is used.
Optional: True
- stateName
-
Type: String
(optional) If a specific state is to applied, it can be named here. Choices are 'rest', 'hover' and 'active'.
Optional: True