Function

GimpItemid_is_drawable

since: 3.0

Declaration [src]

gboolean
gimp_item_id_is_drawable (
  gint item_id
)

Description [src]

Returns whether the item ID is a drawable.

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

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