ItemList.addItem

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

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

Meta