Skip to content

MenuItem#

Description of a RC file menu item. More...

import Script

Properties#

Name
array<MenuItem> children
string id
bool isAction
bool isSeparator
bool isTopLevel
string text

Property Documentation#

array<MenuItem> children#

This property holds the children of the menu item, in case this one is another level of menu.

string id#

This property holds the id of the menu item.

bool isAction#

This property returns true if the menu item is an action.

bool isSeparator#

This property returns true if the menu item is a separator (horizontal line in the menu).

bool isTopLevel#

This property returns true if the menu item is a top level item (direct children of the Menu).

string text#

This property holds the text of the menu item.