enum_value_row_name


Description:


[ Version ( since = "1.0" ) ]
public string enum_value_row_name (EnumValueObject value, void* user_data)

Returns the name of a [class@EnumValueObject].

This is a default implementation of [callback@ComboRowGetEnumValueNameFunc] to be used with [[email protected]_for_enum]. If the enumeration has a nickname, it will return it, otherwise it will return its name.

Parameters:

value

the value from the enum from which to get a name

user_data

unused user data

Returns:

a displayable name that represents value


Namespace: Hdy
Package: libhandy-1



2022 vala-language.org