[Top]
GTK
GTK.ColorSelection
|
Method GTK.ColorSelection()->set_color()
- Method
set_color
GTK.ColorSelection set_color(array 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.0 and 1.0
|