get_name


Description:

public unowned string get_name ()

This function returns the usual name of the unit (e.

g. "inches"). It can be used as the long label for the unit in the interface. For short labels, use [method@Unit.get_abbreviation].

NOTE: This string must not be changed or freed.

Parameters:

this

The unit you want to know the name of.

Returns:

The unit's name.