GimpTagged

GimpTagged

Synopsis

                    GimpTagged;
                    GimpTaggedInterface;
void                gimp_tagged_add_tag                 (GimpTagged *tagged,
                                                         GimpTag tag);
void                gimp_tagged_remove_tag              (GimpTagged *tagged,
                                                         GimpTag tag);
GList*              gimp_tagged_get_get_tags            (GimpTagged *tagged);

Object Hierarchy

  GInterface
   +----GimpTaggedInterface

Known Implementations

GimpTaggedInterface is implemented by GimpBrushPipe, GimpBrush, GimpData, GimpBrushGenerated, GimpBrushClipboard, GimpPalette, GimpGradient, GimpCurve, GimpPattern and GimpPatternClipboard.

Signals

  "tag-added"                                      : Run Last
  "tag-removed"                                    : Run Last

Description

Details

GimpTagged

typedef struct _GimpTagged GimpTagged;


GimpTaggedInterface

typedef struct _GimpTaggedInterface GimpTaggedInterface;


gimp_tagged_add_tag ()

void                gimp_tagged_add_tag                 (GimpTagged *tagged,
                                                         GimpTag tag);

Adds tag to the tagged object. The GimpTagged::tag-added signal is emitted if and only if the tag was not already assigned to this object.

tagged :

an object that implements the GimpTagged interface

tag :

a GimpTag

gimp_tagged_remove_tag ()

void                gimp_tagged_remove_tag              (GimpTagged *tagged,
                                                         GimpTag tag);

Removes tag from the tagged object. The GimpTagged::tag-removed signal is emitted if and only if the tag was actually assigned to this object.

tagged :

an object that implements the GimpTagged interface

tag :

a GimpTag

gimp_tagged_get_get_tags ()

GList*              gimp_tagged_get_get_tags            (GimpTagged *tagged);

tagged :

Returns :

Signal Details

The "tag-added" signal

void                user_function                      (GimpTaggedInterface *gimptaggedinterface,
                                                        gint                 arg1,
                                                        gpointer             user_data)                : Run Last

gimptaggedinterface :

the object which received the signal.

arg1 :

user_data :

user data set when the signal handler was connected.

The "tag-removed" signal

void                user_function                      (GimpTaggedInterface *gimptaggedinterface,
                                                        gint                 arg1,
                                                        gpointer             user_data)                : Run Last

gimptaggedinterface :

the object which received the signal.

arg1 :

user_data :

user data set when the signal handler was connected.