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.
value |
the value from the enum from which to get a name |
user_data |
unused user data |
a displayable name that represents |