GimpColorTool

GimpColorTool

Synopsis

                    GimpColorTool;
void                gimp_color_tool_enable              (GimpColorTool *color_tool,
                                                         GimpColorOptions *options);
void                gimp_color_tool_disable             (GimpColorTool *color_tool);
gboolean            gimp_color_tool_is_enabled          (GimpColorTool *color_tool);
void                gimp_color_tool_start_sample_point  (GimpTool *tool,
                                                         GimpDisplay *display);
#define             GIMP_COLOR_TOOL_GET_OPTIONS         (t)

Object Hierarchy

  GObject
   +----GimpObject
         +----GimpTool
               +----GimpDrawTool
                     +----GimpColorTool
                           +----GimpPaintTool
                           +----GimpImageMapTool
                           +----GimpColorPickerTool

Implemented Interfaces

GimpColorTool implements GimpProgressInterface.

Signals

  "picked"                                         : Run First

Description

Details

GimpColorTool

typedef struct _GimpColorTool GimpColorTool;


gimp_color_tool_enable ()

void                gimp_color_tool_enable              (GimpColorTool *color_tool,
                                                         GimpColorOptions *options);


gimp_color_tool_disable ()

void                gimp_color_tool_disable             (GimpColorTool *color_tool);


gimp_color_tool_is_enabled ()

gboolean            gimp_color_tool_is_enabled          (GimpColorTool *color_tool);


gimp_color_tool_start_sample_point ()

void                gimp_color_tool_start_sample_point  (GimpTool *tool,
                                                         GimpDisplay *display);


GIMP_COLOR_TOOL_GET_OPTIONS()

#define GIMP_COLOR_TOOL_GET_OPTIONS(t)  (GIMP_COLOR_OPTIONS (gimp_tool_get_options (GIMP_TOOL (t))))

Signal Details

The "picked" signal

void                user_function                      (GimpColorTool     *gimpcolortool,
                                                        GimpColorPickState arg1,
                                                        GimpImageType      arg2,
                                                        GimpRGB           *arg3,
                                                        gint               arg4,
                                                        gpointer           user_data)          : Run First

gimpcolortool :

the object which received the signal.

user_data :

user data set when the signal handler was connected.