ItemList.addItem

Adds an item to the item list with specified text. Specify an icon of null for a list item with no icon. If selectable is true the list item will be selectable.

struct ItemList
@nogc nothrow
void
addItem
(
StringArg0
)
(
in StringArg0 text
,,
in bool selectable = true
)

Meta