Top |
gboolean
gimp_item_is_valid (gint32 item_ID
);
Returns TRUE if the item is valid.
This procedure checks if the given item ID is valid and refers to an existing item.
Since: 2.8
gint32
gimp_item_get_image (gint32 item_ID
);
Returns the item's image.
This procedure returns the item's image.
Since: 2.8
gboolean
gimp_item_delete (gint32 item_ID
);
Delete a item.
This procedure deletes the specified item. This must not be done if the image containing this item was already deleted or if the item was already removed from the image. The only case in which this procedure is useful is if you want to get rid of a item which has not yet been added to an image.
Since: 2.8
gboolean
gimp_item_is_drawable (gint32 item_ID
);
Returns whether the item is a drawable.
This procedure returns TRUE if the specified item is a drawable.
Since: 2.8
gboolean
gimp_item_is_layer (gint32 item_ID
);
Returns whether the item is a layer.
This procedure returns TRUE if the specified item is a layer.
Since: 2.8
gboolean
gimp_item_is_text_layer (gint32 item_ID
);
Returns whether the item is a text layer.
This procedure returns TRUE if the specified item is a text layer.
Since: 2.8
gboolean
gimp_item_is_channel (gint32 item_ID
);
Returns whether the item is a channel.
This procedure returns TRUE if the specified item is a channel.
Since: 2.8
gboolean
gimp_item_is_layer_mask (gint32 item_ID
);
Returns whether the item is a layer mask.
This procedure returns TRUE if the specified item is a layer mask.
Since: 2.8
gboolean
gimp_item_is_selection (gint32 item_ID
);
Returns whether the item is a selection.
This procedure returns TRUE if the specified item is a selection.
Since: 2.8
gboolean
gimp_item_is_vectors (gint32 item_ID
);
Returns whether the item is a vectors.
This procedure returns TRUE if the specified item is a vectors.
Since: 2.8
gboolean
gimp_item_is_group (gint32 item_ID
);
Returns whether the item is a group item.
This procedure returns TRUE if the specified item is a group item which can have children.
Since: 2.8
gint32
gimp_item_get_parent (gint32 item_ID
);
Returns the item's parent item.
This procedure returns the item's parent item, if any.
Since: 2.8
gint * gimp_item_get_children (gint32 item_ID
,gint *num_children
);
Returns the item's list of children.
This procedure returns the list of items which are children of the specified item. The order is topmost to bottommost.
Since: 2.8
gboolean
gimp_item_get_expanded (gint32 item_ID
);
Returns whether the item is expanded.
This procedure returns TRUE if the specified item is expanded.
Since: 2.10
gboolean gimp_item_set_expanded (gint32 item_ID
,gboolean expanded
);
Sets the expanded state of the item.
This procedure expands or collapses the item.
Since: 2.10
gchar *
gimp_item_get_name (gint32 item_ID
);
Get the name of the specified item.
This procedure returns the specified item's name.
Since: 2.8
gboolean gimp_item_set_name (gint32 item_ID
,const gchar *name
);
Set the name of the specified item.
This procedure sets the specified item's name.
Since: 2.8
gboolean
gimp_item_get_visible (gint32 item_ID
);
Get the visibility of the specified item.
This procedure returns the specified item's visibility.
Since: 2.8
gboolean gimp_item_set_visible (gint32 item_ID
,gboolean visible
);
Set the visibility of the specified item.
This procedure sets the specified item's visibility.
Since: 2.8
gboolean
gimp_item_get_linked (gint32 item_ID
);
Get the linked state of the specified item.
This procedure returns the specified item's linked state.
Since: 2.8
gboolean gimp_item_set_linked (gint32 item_ID
,gboolean linked
);
Set the linked state of the specified item.
This procedure sets the specified item's linked state.
Since: 2.8
gboolean
gimp_item_get_lock_content (gint32 item_ID
);
Get the 'lock content' state of the specified item.
This procedure returns the specified item's lock content state.
Since: 2.8
gboolean gimp_item_set_lock_content (gint32 item_ID
,gboolean lock_content
);
Set the 'lock content' state of the specified item.
This procedure sets the specified item's lock content state.
Since: 2.8
gboolean
gimp_item_get_lock_position (gint32 item_ID
);
Get the 'lock position' state of the specified item.
This procedure returns the specified item's lock position state.
Since: 2.10
gboolean gimp_item_set_lock_position (gint32 item_ID
,gboolean lock_position
);
Set the 'lock position' state of the specified item.
This procedure sets the specified item's lock position state.
Since: 2.10
GimpColorTag
gimp_item_get_color_tag (gint32 item_ID
);
Get the color tag of the specified item.
This procedure returns the specified item's color tag.
Since: 2.10
gboolean gimp_item_set_color_tag (gint32 item_ID
,GimpColorTag color_tag
);
Set the color tag of the specified item.
This procedure sets the specified item's color tag.
Since: 2.10
gint
gimp_item_get_tattoo (gint32 item_ID
);
Get the tattoo of the specified item.
This procedure returns the specified item's tattoo. A tattoo is a unique and permanent identifier attached to a item that can be used to uniquely identify a item within an image even between sessions.
Since: 2.8
gboolean gimp_item_set_tattoo (gint32 item_ID
,gint tattoo
);
Set the tattoo of the specified item.
This procedure sets the specified item's tattoo. A tattoo is a unique and permanent identifier attached to a item that can be used to uniquely identify a item within an image even between sessions.
Since: 2.8
gboolean gimp_item_attach_parasite (gint32 item_ID
,const GimpParasite *parasite
);
Add a parasite to an item.
This procedure attaches a parasite to an item. It has no return values.
Since: 2.8
gboolean gimp_item_detach_parasite (gint32 item_ID
,const gchar *name
);
Removes a parasite from an item.
This procedure detaches a parasite from an item. It has no return values.
Since: 2.8
GimpParasite * gimp_item_get_parasite (gint32 item_ID
,const gchar *name
);
Look up a parasite in an item
Finds and returns the parasite that is attached to an item.
Since: 2.8
gchar ** gimp_item_get_parasite_list (gint32 item_ID
,gint *num_parasites
);
List all parasites.
Returns a list of all parasites currently attached the an item.
The names of currently attached parasites. The returned
value must be freed with g_strfreev()
.
Since: 2.8