Enums.getValueByName

Looks up a #GEnumValue by name.

struct Enums
static
getValueByName

Parameters

enumClass GEnumClass*

a #GEnumClass

name string

the name to look up

Return Value

Type: GEnumValue*

the #GEnumValue with name @name, or %NULL if the enumeration doesn't have a member with that name

Meta