1999
Michael Natterer
Creates a new unit and returns it's integer ID.
This procedure creates a new unit and returns it's integer ID. Note that the new unit will have it's deletion flag set to TRUE, so you will have to set it to FALSE with 'gimp-unit-set-deletion-flag' to make it persistent.
unknown
Type | Name | Description |
---|---|---|
PF_VALUE | identifier | The new unit's identifier |
PF_FLOAT | factor | The new unit's factor |
PF_INT | digits | The new unit's digits |
PF_VALUE | symbol | The new unit's symbol |
PF_VALUE | abbreviation | The new unit's abbreviation |
PF_VALUE | singular | The new unit's singular form |
PF_VALUE | plural | The new unit's plural form |
Type | Name | Description |
---|---|---|
PF_INT | unit-id | The new unit's ID |