This is a default implementation of ComboRowGetEnumValueNameFunc to be used with set_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 newly allocated displayable name that represents |