itemArray | |||||||
Type | property | ||||||
Dictionary | widget.navbar | ||||||
Library | Navigation Bar | ||||||
Syntax |
| ||||||
Associations | com.livecode.widget.navbar | ||||||
Summary | The full navigation item data. | ||||||
Values |
| ||||||
Related | Property: hilitedItemIcons, itemIcons, itemLabels, itemNames | ||||||
Description | The itemArray is a numerically keyed array. Each element of the array contains an array describing the name, label and icons of the navigation item at that index. The itemArray can be used to access and modify all of the navigation data at once, rather than setting the itemNames, itemLabels, itemIcons and hilitedItemIcons individually. The structure of the itemArray is:
Any individual keys ("label", "icon_name", "hilited_icon_name") missing when setting the itemArray will be added, and set to their defaults - "circle" for the icons, and "New Item" for the label. Note: When setting the itemArray, an error will be thrown if the new value is not a numerically-keyed array. |