Function PopupMenu.setItemIcon

Replaces the Texture icon of the specified idx.

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