enumGetValueByNick

fun enumGetValueByNick(enumClass: EnumClass, nick: String): EnumValue?

Looks up a #GEnumValue by nickname.

Return

the #GEnumValue with nickname @nick, or null if the enumeration doesn't have a member with that nickname

Parameters

enumClass

a #GEnumClass

nick

the nickname to look up