OptionButton.setItemMetadata

Sets the metadata of an item. Metadata may be of any type and can be used to store extra information about an item, such as an external string ID.

struct OptionButton
@nogc nothrow
void
setItemMetadata
(
VariantArg1
)
(
in long idx
,
in VariantArg1 metadata
)

Meta