MenuStyle : setItemsStyle

Defines the properties of items of a Menu

Syntaxes

Menu.setItemsStyle(buttonStyle)

Parameters

buttonStyle

a ButtonStyle object.

Usage

A Menu is an object that contains items (the lines of the Menu).

Those items are Buttons.

The properties of those Buttons/items are defined with the MenuStyle.setItemsStyle(buttonStyle) method.

Demo

file: styleWindows.js, definition of menuStyle
See the source code