get_value_by_name


Description:

public unowned EnumValue? get_value_by_name (string name)

Looks up a EnumValue by name.

Parameters:

name

the name to look up

enum_class

a EnumClass

Returns:

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