Function

GimpItemid_is_text_layer

since: 3.0

Declaration [src]

gboolean
gimp_item_id_is_text_layer (
  gint item_id
)

Description [src]

Returns whether the item ID is a text layer.

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

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 is a text layer, FALSE otherwise.