Enums.getValueByNick

Looks up a #GEnumValue by nickname.

struct Enums
static
getValueByNick

Parameters

enumClass GEnumClass*

a #GEnumClass

nick string

the nickname to look up

Return: the #GEnumValue with nickname @nick, or %NULL if the enumeration doesn't have a member with that nickname

Meta