GimpUi.ColorScale¶
- Subclasses:
 None
Methods¶
- Inherited:
 Gtk.Scale (14), Gtk.Range (28), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Orientable (2)
- Structs:
 
class  | 
  | 
  | 
|
  | 
|
  | 
|
  | 
Virtual Methods¶
Properties¶
- Inherited:
 Gtk.Scale (4), Gtk.Range (8), Gtk.Widget (39), Gtk.Orientable (1)
Name  | 
Type  | 
Flags  | 
Short Description  | 
|---|---|---|---|
r/w/c  | 
The channel which is edited by the color scale  | 
Style Properties¶
- Inherited:
 
Signals¶
- Inherited:
 Gtk.Scale (1), Gtk.Range (4), Gtk.Widget (69), GObject.Object (1)
Fields¶
- Inherited:
 Gtk.Scale (1), Gtk.Range (4), Gtk.Widget (69), GObject.Object (1)
Class Details¶
- class GimpUi.ColorScale(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
Fancy colored sliders.
- classmethod new(orientation, channel)¶
 - Parameters:
 orientation (
Gtk.Orientation) – the scale’s orientation (horizontal or vertical)channel (
GimpUi.ColorSelectorChannel) – the scale’s color channel
- Returns:
 a new
GimpUi.ColorScalewidget- Return type:
 
Creates a new
GimpUi.ColorScalewidget.
- set_channel(channel)¶
 - Parameters:
 channel (
GimpUi.ColorSelectorChannel) – the new color channel
Changes the color channel displayed by the self.
- set_color(color)¶
 - Parameters:
 color (
Gegl.Color) – the new color.
Changes the color value of the self.
- set_color_config(config)¶
 - Parameters:
 config (
Gimp.ColorConfig) – aGimp.ColorConfigobject.
Sets the color management configuration to use with this color scale.
New in version 2.10.
- set_format(format)¶
 - Parameters:
 format (
Babl.Object) – theBabl.Objectformat represented by self.
Changes the color format displayed by the self.
Property Details¶
- GimpUi.ColorScale.props.channel¶
 - Name:
 channel- Type:
 - Default Value:
 - Flags:
 
The channel which is edited by the color scale.
New in version 2.8.