GtkColorSelection

Widget that is used to select a color.

Object Hierarchy

GObject
`-- GtkObject
       `-- GtkWidget
              `-- GtkContainer
                     `-- GtkBox
                            `-- GtkVBox
                                   `-- GtkColorSelection

Description

GtkColorSelection is a widget that is used to select a color. The widget provides a very user friendly interface that includes a 'color wheel' in addition to a number of sliders and entry boxes for color parameters such as hue, saturation, RGB, and opacity. The widget is used in the ready-made color selection dialog box, GtkColorSelectionDialog.

Constructors

-- Creates a new GtkColorSelection

Methods

get_color()
  DEPRECATED. Returns the color currently selected in the GtkColorSelection widget.
get_current_alpha()
  Returns the current alpha value on the GtkColorSelection widget.
get_current_color()
  Returns the current color selected on the GtkColorSelection widget.
get_has_opacity_control()
  Determines whether the GtkColorSelection has opacity control enabled.
get_has_palette()
  Determines if the widget has a palette.
get_previous_alpha()
  Returns the previous alpha value on the GtkColorSelection widget.
get_previous_color()
  Returns the previous color selected on the widget.
is_adjusting()
  Gets the current state of the specified GtkColorSelection
set_color()
  DEPRECATED. Sets the color currently selected in the GtkColorSelection widget.
set_current_alpha()
  Sets the current alpha value on the GtkColorSelection widget.
set_current_color()
  Sets the current color selected on the GtkColorSelection widget.
set_has_opacity_control()
  Sets whether the opacity control is visible for the widget.
set_has_palette()
  Sets whether the palette for the GtkColorSelection widget is visible or not.
set_previous_alpha()
  Sets the previous value on alpha on the widget.
set_previous_color()
  Sets the previous color selected on the widget.
set_update_policy()
  DEPRECATED. Sets the policy controlling when the "color-changed" signal is emitted.
palette_to_string()
 

Signals

"color-changed"
  Emitted when the color changes in the widget according to its update policy.