Gimp.get_default_unit

function get_default_unit(): Gimp.Unit {
    // Gjs wrapper for gimp_get_default_unit()
}
  

Get the default unit (taken from the user's locale).

Returns the default unit's integer ID.

Since 2.4

Returns

Default unit.