Enums.getValue

Returns the #GEnumValue for a value.

struct Enums
static
getValue

Parameters

enumClass GEnumClass*

a #GEnumClass

value int

the value to look up

Return Value

Type: GEnumValue*

the #GEnumValue for @value, or %NULL if @value is not a member of the enumeration

Meta