-
public uint16 get_current_alpha ()
Returns the current alpha value.
-
public void get_current_color (out Color color)
Sets color to be the current color in the GtkColorSelection widget.
-
public bool get_has_opacity_control ()
Determines whether the colorsel has an opacity control.
-
public bool get_has_palette ()
Determines whether the color selector has a color palette.
-
public uint16 get_previous_alpha ()
Returns the previous alpha value.
-
public void get_previous_color (out Color color)
Fills color in with the original color value.
-
public bool is_adjusting ()
Gets the current state of the colorsel.
-
public void set_current_alpha (uint16 alpha)
Sets the current opacity to be alpha. The first time this is called, it will also set the
original opacity to be alpha too.
-
public void set_current_color (Color color)
Sets the current color to be color. The first time this is called, it will also set the
original color to be color too.
-
public void set_has_opacity_control (bool has_opacity)
Sets the colorsel to use or not use opacity.
-
public void set_has_palette (bool has_palette)
Shows and hides the palette based upon the value of has_palette.
-
public void set_previous_alpha (uint16 alpha)
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.
-
public void set_previous_color (Color color)
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
set_current_color will also set this color the first time it is
called.