GIMP Library Reference Manual
<<< Previous Page | Home | Up |

# color_selector

## Name

color_selector --

## Synopsis

    void        (*GimpColorSelector_Callback)   (void *data,
                                                 int r,
                                                 int g,
                                                 int b);
    GtkWidget*  (*GimpColorSelector_NewFunc)    (int r,
                                                 int g,
                                                 int b,
                                                 GimpColorSelector_Callback cb,
                                                 void *data,
                                                 void **selector_data);
    void        (*GimpColorSelector_FreeFunc)   (void *selector_data);
    void        (*GimpColorSelector_SetColorFunc)
                                                (void *selector_data,
                                                 int r,
                                                 int g,
                                                 int b,
                                                 int set_current);
    struct      GimpColorSelectorMethods;
    typedef     GimpColorSelectorID;
    GimpColorSelectorID gimp_color_selector_register
                                                (const char *name,
                                                 const char *help_page,
                                                 GimpColorSelectorMethods *methods);
    gboolean    gimp_color_selector_unregister  (GimpColorSelectorID id,
                                                 void (*callback) (void *data),
                                                 void *data);

## Description

## Details

### GimpColorSelector_Callback ()

    void        (*GimpColorSelector_Callback)   (void *data,
                                                 int r,
                                                 int g,
                                                 int b);

`data` : |
`r` : |
`g` : |
`b` : |

### GimpColorSelector_NewFunc ()

    GtkWidget*  (*GimpColorSelector_NewFunc)    (int r,
                                                 int g,
                                                 int b,
                                                 GimpColorSelector_Callback cb,
                                                 void *data,
                                                 void **selector_data);

`r` : |
`g` : |
`b` : |
`cb` : |
`data` : |
`selector_data` : |
Returns : |

### GimpColorSelector_FreeFunc ()

    void        (*GimpColorSelector_FreeFunc)   (void *selector_data);

`selector_data` : |

### GimpColorSelector_SetColorFunc ()

    void        (*GimpColorSelector_SetColorFunc)
                                                (void *selector_data,
                                                 int r,
                                                 int g,
                                                 int b,
                                                 int set_current);

`selector_data` : |
`r` : |
`g` : |
`b` : |
`set_current` : |

### struct GimpColorSelectorMethods

    struct GimpColorSelectorMethods {
      GimpColorSelector_NewFunc      new;
      GimpColorSelector_FreeFunc     free;
      GimpColorSelector_SetColorFunc setcolor;
    };

### GimpColorSelectorID

    typedef void *GimpColorSelectorID;

### gimp_color_selector_register ()

    GimpColorSelectorID gimp_color_selector_register
                                                (const char *name,
                                                 const char *help_page,
                                                 GimpColorSelectorMethods *methods);

`name` : |
`help_page` : |
`methods` : |
Returns : |

### gimp_color_selector_unregister ()

    gboolean    gimp_color_selector_unregister  (GimpColorSelectorID id,
                                                 void (*callback) (void *data),
                                                 void *data);

`id` : |
`callback` : |
`data` : |
Returns : |

<<< Previous Page | Home | Up |
color_display |