1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
5 a widget used to select a color.
7 <!-- ##### SECTION Long_Description ##### -->
9 The #GtkColorSelection is a widget that is used to select
10 a color. It consists of a color wheel and number of sliders
11 and entry boxes for color parameters such as hue, saturation,
12 value, red, green, blue, and opacity. It is found on the standard
13 color selection dialog box #GtkColorSelectionDialog.
16 <!-- ##### SECTION See_Also ##### -->
21 <!-- ##### STRUCT GtkColorSelection ##### -->
23 The #GtkColorSelection-struct struct contains private data only,
24 and should be accessed using the functions below.
28 <!-- ##### FUNCTION gtk_color_selection_new ##### -->
36 <!-- ##### FUNCTION gtk_color_selection_set_update_policy ##### -->
38 Sets the policy controlling when the color_changed signals are emitted.
39 The available policies are:
43 %GTK_UPDATE_CONTINUOUS - signals are sent continuously as the color
49 %GTK_UPDATE_DISCONTINUOUS - signals are sent only when the mouse
55 %GTK_UPDATE_DELAYED - signals are sent when the mouse button is
56 released or when the mouse has been motionless for a period of
63 @colorsel: a #GtkColorSelection.
64 @policy: a #GtkUpdateType value indicating the desired policy.
67 <!-- ##### FUNCTION gtk_color_selection_set_has_opacity_control ##### -->
76 <!-- ##### FUNCTION gtk_color_selection_get_has_opacity_control ##### -->
85 <!-- ##### FUNCTION gtk_color_selection_set_has_palette ##### -->
94 <!-- ##### FUNCTION gtk_color_selection_get_has_palette ##### -->
103 <!-- ##### FUNCTION gtk_color_selection_get_current_alpha ##### -->
112 <!-- ##### FUNCTION gtk_color_selection_set_current_alpha ##### -->
121 <!-- ##### FUNCTION gtk_color_selection_get_current_color ##### -->
130 <!-- ##### FUNCTION gtk_color_selection_set_current_color ##### -->
139 <!-- ##### FUNCTION gtk_color_selection_get_previous_alpha ##### -->
148 <!-- ##### FUNCTION gtk_color_selection_set_previous_alpha ##### -->
157 <!-- ##### FUNCTION gtk_color_selection_get_previous_color ##### -->
166 <!-- ##### FUNCTION gtk_color_selection_set_previous_color ##### -->
175 <!-- ##### FUNCTION gtk_color_selection_is_adjusting ##### -->
184 <!-- ##### FUNCTION gtk_color_selection_palette_from_string ##### -->
195 <!-- ##### FUNCTION gtk_color_selection_palette_to_string ##### -->
205 <!-- ##### FUNCTION gtk_color_selection_set_change_palette_hook ##### -->
214 <!-- ##### USER_FUNCTION GtkColorSelectionChangePaletteFunc ##### -->
223 <!-- ##### FUNCTION gtk_color_selection_set_change_palette_with_screen_hook ##### -->
232 <!-- ##### USER_FUNCTION GtkColorSelectionChangePaletteWithScreenFunc ##### -->
242 <!-- ##### FUNCTION gtk_color_selection_set_color ##### -->
251 <!-- ##### FUNCTION gtk_color_selection_get_color ##### -->
260 <!-- ##### SIGNAL GtkColorSelection::color-changed ##### -->
262 This signal is emitted when the color changes in the #GtkColorSelection
263 according to its update policy.
266 @colorselection: the object which received the signal.
268 <!-- ##### ARG GtkColorSelection:has-palette ##### -->
273 <!-- ##### ARG GtkColorSelection:has-opacity-control ##### -->
278 <!-- ##### ARG GtkColorSelection:current-color ##### -->
283 <!-- ##### ARG GtkColorSelection:current-alpha ##### -->