![]() |
![]() |
![]() |
GIMP Widgets Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
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
,const GimpRGB *rgb
,const GimpHSV *hsv
);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkRange +----GtkScale +----GimpColorScale
GimpColorScale implements AtkImplementorIface, GtkBuildable and GtkOrientable.
GtkWidget * gimp_color_scale_new (GtkOrientation orientation
,GimpColorSelectorChannel channel
);
Creates a new GimpColorScale widget.
|
the scale's orientation (horizontal or vertical) |
|
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
.
|
a GimpColorScale widget |
|
the new color channel |
void gimp_color_scale_set_color (GimpColorScale *scale
,const GimpRGB *rgb
,const GimpHSV *hsv
);
Changes the color value of the scale
.
|
a GimpColorScale widget |
|
the new color as GimpRGB |
|
the new color as GimpHSV |
"channel"
property"channel" GimpColorSelectorChannel : Read / Write / Construct
The channel which is edited by the color scale.
Default value: GIMP_COLOR_SELECTOR_VALUE
Since GIMP 2.8