Class ProgrammeToolbarList : addItem Method
void addItem( String title, Function callback, [ Object parameter ], [ String image ] ) |
Summary
Add an item to the list.
Parameters
Parameter | Description |
String title |
Text that appears in the list. |
Function callback |
Function called when the user selects the item |
Object parameter [optional] |
An optional parameter, can be anything you like, that is passed to your callback function. |
String image [optional] |
Image used for this item. |
|
|
|
Requirements
1115
|