Gimp.Unit.prototype.get_name
function get_name(): String {
// Gjs wrapper for gimp_unit_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.
- Returns
The unit's name.