The ID can be used to retrieve the unit with [func@Unit.
get_by_id].
Note that this ID will be stable within a single session of GIMP, but you should not expect this ID to stay the same across multiple runs.
| this |
The unit you want to know the integer ID of. |
|
The unit's ID. |