Function OptionButton.getItemIndex

Returns the index of the item with the given id.

long getItemIndex (
  const(long) id
) nothrow @nogc const;