Method GTK2.ColorSelection()->set_current_color()
- Method
set_current_color
GTK2.ColorSelection
set_current_color(mapping
color
)- Description
You can set the current color explicitly by calling this function with an array of colors (floats). The length of the array depends on whether opacity is enabled or not. Position 0 contains the red component, 1 is green, 2 is blue and opacity is at position 3 (only if opacity is enabled, see set_opacity()) All values are between 0 and 65535