Function OptionButton.setItemIcon

Sets the icon of the item at index idx.

void setItemIcon (
  const(long) idx,
  Texture texture
) nothrow @nogc;