### Class

# Gimp Item

#### Description [src]

    abstract class Gimp.Item : GObject.Object {
      parent_instance: GObject
    }

Functions to manipulate items.

#### Ancestors

- GObject

#### Descendants

- GimpDrawable
- GimpVectors

#### Functions

###### gimp_item_get_by_id

Returns a `GimpItem` representing `item_id`. Since `GimpItem` is an abstract class, the real object type will actually be the proper subclass.

Available since: 3.0

###### gimp_item_id_is_channel

Returns whether the item ID is a channel.

Available since: 3.0

###### gimp_item_id_is_drawable

Returns whether the item ID is a drawable.

Available since: 3.0

###### gimp_item_id_is_layer

Returns whether the item ID is a layer.

Available since: 3.0

###### gimp_item_id_is_layer_mask

Returns whether the item ID is a layer mask.

Available since: 3.0

###### gimp_item_id_is_selection

Returns whether the item ID is a selection.

Available since: 3.0

###### gimp_item_id_is_text_layer

Returns whether the item ID is a text layer.

Available since: 3.0

###### gimp_item_id_is_valid

Returns TRUE if the item ID is valid.

Available since: 3.0

###### gimp_item_id_is_vectors

Returns whether the item ID is a vectors.

Available since: 3.0

#### Instance methods

###### gimp_item_attach_parasite

Add a parasite to an item.

Available since: 2.8

###### gimp_item_delete

Delete a item.

Available since: 2.8

###### gimp_item_detach_parasite

Removes a parasite from an item.

Available since: 2.8

###### gimp_item_get_children

Returns the item’s list of children.

Available since: 2.8

###### gimp_item_get_color_tag

Get the color tag of the specified item.

Available since: 2.10

###### gimp_item_get_expanded

Returns whether the item is expanded.

Available since: 2.10

###### gimp_item_get_id

No description available.

Available since: 3.0

###### gimp_item_get_image

Returns the item’s image.

Available since: 2.8

###### gimp_item_get_lock_content

Get the ‘lock content’ state of the specified item.

Available since: 2.8

###### gimp_item_get_lock_position

Get the ‘lock position’ state of the specified item.

Available since: 2.10

###### gimp_item_get_lock_visibility

Get the ‘lock visibility’ state of the specified item.

Available since: 3.0

###### gimp_item_get_name

Get the name of the specified item.

Available since: 2.8

###### gimp_item_get_parasite

Look up a parasite in an item.

Available since: 2.8

###### gimp_item_get_parasite_list

List all parasites.

Available since: 2.8

###### gimp_item_get_parent

Returns the item’s parent item.

Available since: 2.8

###### gimp_item_get_tattoo

Get the tattoo of the specified item.

Available since: 2.8

###### gimp_item_get_visible

Get the visibility of the specified item.

Available since: 2.8

###### gimp_item_is_channel

Returns whether the item is a channel.

Available since: 2.8

###### gimp_item_is_drawable

Returns whether the item is a drawable.

Available since: 2.8

###### gimp_item_is_group

Returns whether the item is a group item.

Available since: 2.8

###### gimp_item_is_layer

Returns whether the item is a layer.

Available since: 2.8

###### gimp_item_is_layer_mask

Returns whether the item is a layer mask.

Available since: 2.8

###### gimp_item_is_selection

Returns whether the item is a selection.

Available since: 2.8

###### gimp_item_is_text_layer

Returns whether the item is a text layer.

Available since: 2.8

###### gimp_item_is_valid

Returns TRUE if the item is valid.

Available since: 2.8

###### gimp_item_is_vectors

Returns whether the item is a vectors.

Available since: 2.8

###### gimp_item_list_children

Returns the item’s list of children.

Available since: 3.0

###### gimp_item_set_color_tag

Set the color tag of the specified item.

Available since: 2.10

###### gimp_item_set_expanded

Sets the expanded state of the item.

Available since: 2.10

###### gimp_item_set_lock_content

Set the ‘lock content’ state of the specified item.

Available since: 2.8

###### gimp_item_set_lock_position

Set the ‘lock position’ state of the specified item.

Available since: 2.10

###### gimp_item_set_lock_visibility

Set the ‘lock visibility’ state of the specified item.

Available since: 3.0

###### gimp_item_set_name

Set the name of the specified item.

Available since: 2.8

###### gimp_item_set_tattoo

Set the tattoo of the specified item.

Available since: 2.8

###### gimp_item_set_visible

Set the visibility of the specified item.

Available since: 2.8

###### gimp_item_transform_2d

Transform the specified item in 2d.

Available since: 2.8

###### gimp_item_transform_flip

Flip the specified item around a given line.

Available since: 2.8

###### gimp_item_transform_flip_simple

Flip the specified item either vertically or horizontally.

Available since: 2.2

###### gimp_item_transform_matrix

Transform the specified item in 2d.

Available since: 2.8

###### gimp_item_transform_perspective

Perform a possibly non-affine transformation on the specified item.

Available since: 2.8

###### gimp_item_transform_rotate

Rotate the specified item about given coordinates through the specified angle.

Available since: 2.8

###### gimp_item_transform_rotate_simple

Rotate the specified item about given coordinates through the specified angle.

Available since: 2.8

###### gimp_item_transform_scale

Scale the specified item.

Available since: 2.8

###### gimp_item_transform_shear

Shear the specified item about its center by the specified magnitude.

Available since: 2.8

###### gimp_item_transform_translate

Translate the item by the specified offsets.

Available since: 2.10

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Properties

###### Gimp.Item:id

No description available.

#### Signals

##### Signals inherited from GObject (1)

###### GObject.Object::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

#### Class structure

    struct GimpItemClass {
      GObjectClass parent_class;
      void (* _gimp_reserved1) (
    void
      );
      void (* _gimp_reserved2) (
    void
      );
      void (* _gimp_reserved3) (
    void
      );
      void (* _gimp_reserved4) (
    void
      );
      void (* _gimp_reserved5) (
    void
      );
      void (* _gimp_reserved6) (
    void
      );
      void (* _gimp_reserved7) (
    void
      );
      void (* _gimp_reserved8) (
    void
      );

    }

###### Class members

`parent_class`

    GObjectClass

| No description available.

`_gimp_reserved1`

    void (* _gimp_reserved1) (
    void
      )

| No description available.

`_gimp_reserved2`

    void (* _gimp_reserved2) (
    void
      )

| No description available.

`_gimp_reserved3`

    void (* _gimp_reserved3) (
    void
      )

| No description available.

`_gimp_reserved4`

    void (* _gimp_reserved4) (
    void
      )

| No description available.

`_gimp_reserved5`

    void (* _gimp_reserved5) (
    void
      )

| No description available.

`_gimp_reserved6`

    void (* _gimp_reserved6) (
    void
      )

| No description available.

`_gimp_reserved7`

    void (* _gimp_reserved7) (
    void
      )

| No description available.

`_gimp_reserved8`

    void (* _gimp_reserved8) (
    void
      )

| No description available.