<!-- ##### SECTION Title ##### -->
gimpcolorselector

<!-- ##### SECTION Short_Description ##### -->
Functions and definitiions for creating a pluggable GIMP
color selector module.

<!-- ##### SECTION Long_Description ##### -->
<para>
Functions and definitiions for creating a pluggable GIMP
color selector module.

</para>

<!-- ##### SECTION See_Also ##### -->
<para>
#GModule
</para>
<para>
#libgimp-gimpmodule
</para>

<!-- ##### USER_FUNCTION GimpColorSelectorCallback ##### -->
<para>

</para>

@data: 
@hsv: 
@rgb: 


<!-- ##### USER_FUNCTION GimpColorSelectorNewFunc ##### -->
<para>

</para>

@hsv: 
@rgb: 
@show_alpha: 
@cb: 
@data: 
@selector_data: 
@Returns: 


<!-- ##### USER_FUNCTION GimpColorSelectorFreeFunc ##### -->
<para>

</para>

@selector_data: 


<!-- ##### USER_FUNCTION GimpColorSelectorSetColorFunc ##### -->
<para>

</para>

@selector_data: 
@hsv: 
@rgb: 


<!-- ##### USER_FUNCTION GimpColorSelectorSetChannelFunc ##### -->
<para>

</para>

@selector_data: 
@type: 


<!-- ##### STRUCT GimpColorSelectorMethods ##### -->
<para>

</para>

@new: 
@free: 
@set_color: 
@set_channel: 

<!-- ##### TYPEDEF GimpColorSelectorID ##### -->
<para>

</para>


<!-- ##### ENUM GimpColorSelectorChannelType ##### -->
<para>

</para>

@GIMP_COLOR_SELECTOR_HUE: 
@GIMP_COLOR_SELECTOR_SATURATION: 
@GIMP_COLOR_SELECTOR_VALUE: 
@GIMP_COLOR_SELECTOR_RED: 
@GIMP_COLOR_SELECTOR_GREEN: 
@GIMP_COLOR_SELECTOR_BLUE: 
@GIMP_COLOR_SELECTOR_ALPHA: 

<!-- ##### FUNCTION gimp_color_selector_register ##### -->
<para>
Register a color selector.  Returns an identifier for the color
selector on success, or #NULL if the name is already in use.  Both
the @name and @methods table are internalised, so may be g_free()'d after
this call.
</para>

@name: The color selector's name.
@help_page: The help page.
@methods: The color selector's methods.
@Returns: The #GimpColorSelectorID of the new color selector.


<!-- ##### USER_FUNCTION GimpColorSelectorFinishedCB ##### -->
<para>
A function of this type will be called once all instances of a color
selector have finished after the selector module called
gimp_color_selector_unregister().
</para>

@finished_data: The @finished_data as specified in gimp_color_selector_register().


<!-- ##### FUNCTION gimp_color_selector_unregister ##### -->
<para>
Remove the selector @id from active service.  New instances of the
selector will not be created, but existing ones are allowed to
continue.  If @finished_cb is non-#NULL, it will be called once all
instances have finished.  The callback could be used to unload
dynamiclly loaded code, for example.
</para>

@id: The @id as returned by gimp_color_selector_register().
@finished_cb: Optional callback which will be called once all instances have finished.
@finished_data: The @finished_data which will be passed to @finished_cb.
@Returns: #TRUE on success, #FALSE if @id was not found.


