Function

Gimpenum_value_get_desc

Declaration [src]

const gchar*
gimp_enum_value_get_desc (
  GEnumClass* enum_class,
  const GEnumValue* enum_value
)

Description [src]

Retrieves the translated description for a given enum_value.

Available since:2.2

Parameters

enum_class GEnumClass
 

A GEnumClass.

 The data is owned by the caller of the function.
enum_value GEnumValue
 

A GEnumValue from enum_class.

 The data is owned by the caller of the function.

Return value

Returns: const gchar*
 

The translated description of the enum value.

 The data is owned by the called function.
 The value is a NUL terminated UTF-8 string.