Package: gdk

Function gdk:color-new

Lambda List

gdk:color-new (&key pixel red green blue)

Arguments

pixel -- an unsigned integer for the pixel value used to draw this color on the screen, not used anymore
red -- an unsigned integer for the red component of the color, this is a value between 0 and 65535, with 65535 indicating full intensity
green -- an unsigned integer for the green component of the color
blue -- an unsigned integer for the blue component of the color

Return Value

The newly created gdk:color instance.

Details

Creates a new gdk:color instance.

Warning

The gdk:color-new function has been deprecated since version 3.14 and should not be used in newly written code. Use the gdk:rgba structure.
 

See also

2025-1-15