PopupMenu.setItemMetadata

Sets the metadata of an item, which may be of any type. You can later get it with getItemMetadata, which provides a simple way of assigning context data to items.

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

Meta