Gimp.Unit.get_by_id

@accepts(int)
@returns(Gimp.Unit)
def get_by_id(unit_id):
    # Python wrapper for gimp_unit_get_by_id()
  

Returns the unique [class@Unit] object corresponding to unit_id, which is the integer identifier as returned by [method@Unit.get_id].

Since 3.0

unit_id

The unit id.

Returns