![]() | ![]() | ![]() | GIMP Widgets Library Reference Manual | ![]() |
---|
GimpColorScale —
struct GimpColorScale;GtkWidget * gimp_color_scale_new (GtkOrientation orientation, GimpColorSelectorChannel channel); void gimp_color_scale_set_channel (GimpColorScale *scale, GimpColorSelectorChannel channel); void gimp_color_scale_set_color (GimpColorScale *scale, constGimpRGB *rgb, constGimpHSV *hsv);
GObject +----GtkObject +----GtkWidget +----GtkRange +----GtkScale +----GimpColorScale
GimpColorScale implements
GtkWidget * gimp_color_scale_new (GtkOrientation orientation, GimpColorSelectorChannel channel);
Creates a new GimpColorScale widget.
orientation : | the scale's orientation (horizontal or vertical) |
channel : | the scale's color channel |
Returns : | a new GimpColorScale widget |
void gimp_color_scale_set_channel (GimpColorScale *scale, GimpColorSelectorChannel channel);
Changes the color channel displayed by the scale.
scale : | a GimpColorScale widget |
channel : | the new color channel |
void gimp_color_scale_set_color (GimpColorScale *scale, constGimpRGB *rgb, constGimpHSV *hsv);
Changes the color value of the scale.
scale : | a GimpColorScale widget |
rgb : | the new color as |
hsv : | the new color as |
<< GimpColorButton | GimpFileSelection >> |