MenuBase

Base class of menu bar and popup menu.

Modulerequire("gui")
TypeClass

Methods

append(item)

Append the item to the menu.

Parameters

insert(item, index)

Insert the item at index to the menu.

Parameters

remove(item)

Remove the item from the menu.

Parameters

itemCount()

Return the count of items in the menu.

Return

Integer

itemAt(index)

Return the item at index.

Parameters

Return

MenuItem