itemArray

Typeproperty
Dictionarywidget.headerbar
LibraryHeader Bar
Syntax
get the itemArray of <widget>
set the itemArray of <widget> to <array>
Associationscom.livecode.widget.headerbar
Summary

The full header action data.

Values
NameTypeDescription
Value

An array containing all the action data

RelatedProperty: itemIcons, hilitedItemIcons, itemLabels, itemNames
Description

The itemArray is a number-indexed array that contains all of the information about the header widget's actions. It combines the data accessible via the itemIcons, hilitedItemIcons, itemLabels and itemNames properties.

The structure of the itemArray must be: { key (integer): The index of the navigation item value (array): The array containing the data for the item at this index { key : "name" value (string): The name of this item key : "label" value (string): The label of this item key : "icon_name" value (string) : The name of the icon to display when the item is not highlighted key : "hilited_icon_name" value (string) : The name of the icon to display when the item is highlighted } }