Function

GimpItemid_is_selection

since: 3.0

Declaration [src]

gboolean
gimp_item_id_is_selection (
  gint item_id
)

Description [src]

Returns whether the item ID is a selection.

This procedure returns TRUE if the specified item ID is a selection.

Note: in most use cases, you should not use this function. See gimp_item_id_is_layer() for a discussion on alternatives.

Available since: 3.0

Parameters

item_id

Type: gint

The item ID.

Return value

Type: gboolean

TRUE if the item ID is a selection, FALSE otherwise.