PopupMenu.getItemIndex

Returns the index of the item containing the specified id. Index is automatically assigned to each item by the engine. Index can not be set manually.

struct PopupMenu
@nogc nothrow const
long
getItemIndex
(
in long id
)

Meta