get_value_by_nick


Description:

public unowned EnumValue? get_value_by_nick (string nick)

Looks up a EnumValue by nickname.

Parameters:

nick

the nickname to look up

enum_class

a EnumClass

Returns:

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