Skip to main content

itemArray

Type

property

Summary

The full header action data.

Syntax

get the itemArray of <widget>
set the itemArray of <widget> to <array>

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
}
}

property: itemIcons, hilitedItemIcons, itemLabels, itemNames