21 PEnumDropdown(
const std::string &tag,
const std::vector<std::string> &items,
const std::vector<long> &itemValues = {},
const std::string &label =
"");
PEnumDropdown(const std::string &tag, const std::vector< std::string > &items, const std::vector< long > &itemValues={}, const std::string &label="")
If itemValues is empty, the item values will be initialized to the index of each item.