Gimp.Selection.get_by_id

@accepts(gint32)
@returns(Gimp.Selection)
def get_by_id(selection_id):
    # Python wrapper for gimp_selection_get_by_id()
  

Returns a Gimp.Selection representing selection_id. This function calls Gimp.Item.get_by_id and returns the item if it is selection or None otherwise.

Since 3.0

selection_id

The selection id.

Returns