Sets our main struct and passes it to the parent class
Creates a new GtkColorSelection.
This signal is emitted when the color changes in the GtkColorSelection according to its update policy.
Warning gtk_color_selection_get_color has been deprecated since version 2.0 and should not be used in newly-written code. Use gtk_color_selection_get_current_color() instead. Sets color to be the current color in the GtkColorSelection widget.
Returns the current alpha value.
Sets color to be the current color in the GtkColorSelection widget.
Determines whether the colorsel has an opacity control.
Determines whether the color selector has a color palette.
Returns the previous alpha value.
Fills color in with the original color value.
the main Gtk struct as a void*
Gets the current state of the colorsel.
Warning gtk_color_selection_set_color has been deprecated since version 2.0 and should not be used in newly-written code. Use gtk_color_selection_set_current_color() instead. Sets the current color to be color. The first time this is called, it will also set the original color to be color too.
Sets the current opacity to be alpha. The first time this is called, it will also set the original opacity to be alpha too.
Sets the current color to be color. The first time this is called, it will also set the original color to be color too.
Sets the colorsel to use or not use opacity.
Shows and hides the palette based upon the value of has_palette.
Sets the 'previous' alpha to be alpha. This function should be called with some hesitations, as it might seem confusing to have that alpha change.
Sets the 'previous' color to be color. This function should be called with some hesitations, as it might seem confusing to have that color change. Calling gtk_color_selection_set_current_color() will also set this color the first time it is called.
Warning gtk_color_selection_set_update_policy is deprecated and should not be used in newly-written code. Sets the policy controlling when the color_changed signals are emitted.
Parses a color palette string; the string is a colon-separated list of color names readable by gdk_color_parse().
Encodes a palette as a string, useful for persistent storage.
Warning gtk_color_selection_set_change_palette_hook has been deprecated since version 2.4 and should not be used in newly-written code. This function does not work in multihead environments. Use gtk_color_selection_set_change_palette_with_screen_hook() instead. Installs a global function to be called whenever the user tries to modify the palette in a color selection. This function should save the new palette contents, and update the GtkSettings property "gtk-color-palette" so all GtkColorSelection widgets will be modified.
Installs a global function to be called whenever the user tries to modify the palette in a color selection. This function should save the new palette contents, and update the GtkSettings property "gtk-color-palette" so all GtkColorSelection widgets will be modified. Since 2.2
the main Gtk struct
the main Gtk struct
the main Gtk struct as a void*
Description The GtkColorSelection is a widget that is used to select a color. It consists of a color wheel and number of sliders and entry boxes for color parameters such as hue, saturation, value, red, green, blue, and opacity. It is found on the standard color selection dialog box GtkColorSelectionDialog.