OptionButton.addItem

Add an item, with 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
addItem
(
StringArg0
)
(
in StringArg0 label
,
in long id = -1
)

Meta