Function PopupMenu.getItemId

Returns the id of the item at index idx. id can be manually assigned, while index can not.

long getItemId (
  const(long) idx
) nothrow @nogc const;