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.
Returns the current alpha value.
Warning gtk_color_selection_get_current_color has been deprecated since version 3.4 and should not be used in newly-written code. Use gtk_color_selection_get_current_rgba() instead. Sets color to be the current color in the GtkColorSelection widget.
Sets rgba 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.
Warning gtk_color_selection_get_previous_color has been deprecated since version 3.4 and should not be used in newly-written code. Use gtk_color_selection_get_previous_rgba() instead. Fills color in with the original color value.
Fills rgba in with the original color value.
the main Gtk struct as a void*
Gets the current state of the colorsel.
Sets the current opacity to be alpha. The first time this is called, it will also set the original opacity to be alpha too.
Warning gtk_color_selection_set_current_color has been deprecated since version 3.4 and should not be used in newly-written code. Use gtk_color_selection_set_current_rgba() 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 color to be rgba. The first time this is called, it will also set the original color to be rgba 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.
Warning gtk_color_selection_set_previous_color has been deprecated since version 3.4 and should not be used in newly-written code. Use gtk_color_selection_set_previous_rgba() instead. 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.
Sets the 'previous' color to be rgba. This function should be called with some hesitations, as it might seem confusing to have that color change. Calling gtk_color_selection_set_current_rgba() will also set this color the first time it is called.
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.
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 "gtk-color-palette" GtkSettings property 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*
Adds child to box, packed with reference to the start of box. The child is packed after any other child packed with reference to the start of box.
Adds child to box, packed with reference to the end of box. The child is packed after (away from end of) any other child packed with reference to the end of box.
Returns whether the box is homogeneous (all children are the same size). See gtk_box_set_homogeneous().
Sets the "homogeneous" property of box, controlling whether or not all children of box are given equal space in the box.
Gets the value set by gtk_box_set_spacing().
Sets the "spacing" property of box, which is the number of pixels to place between children of box.
Moves child to a new position in the list of box children. The list is the children field of GtkBox, and contains both widgets packed GTK_PACK_START as well as widgets packed GTK_PACK_END, in the order that these widgets were added to box. A widget's position in the box children list determines where the widget is packed into box. A child widget at some position in the list will be packed just after all other widgets of the same packing type that appear earlier in the list.
Obtains information about how child is packed into box.
Sets the way child is packed into box.
Gets the value set by gtk_box_set_baseline_position().
Sets the baseline position of a box. This affects only horizontal boxes with at least one baseline aligned child. If there is more vertical space availible than requested, and the baseline is not allocated by the parent then position is used to allocate the baseline wrt the extra space available.
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.