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.