The search functionality needs JavaScript enabled
Adds an item, with text label and (optionally) id. If no id is passed, the item index will be used as the item's ID. New items are appended at the end.
label
id
void addItem ( const(String) label, const(long) id = -1L ) nothrow @nogc;