OptionButton.addIconItem

Add an item, with a "texture" icon, text "label" and (optionally) id. If no "id" is passed, "id" becomes the item index. New items are appended at the end.

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

Meta