get_by_id


Description:

[ Version ( since = "3.0" ) ]
public static unowned Selection? get_by_id (int32 selection_id)

Returns a Selection representing selection_id.

This function calls get_by_id and returns the item if it is selection or null otherwise.

Parameters:

selection_id

The selection id.

Returns:

a Selection for selection_id or null if selection_id does not represent a valid selection. The object belongs to libgimp and you must not modify or unref it.