OptionButton.addIconItem

Adds an item, with a texture icon, 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.

struct OptionButton
@nogc nothrow
void
addIconItem
(,
in String label
,
in long id = -1
)

Meta