Function

GimpItemid_is_path

since: 3.0

Declaration [src]

gboolean
gimp_item_id_is_path (
  gint item_id
)

Description [src]

Returns whether the item ID is a path.

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

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 path, FALSE otherwise.