Package: gdk

Struct gdk-color

Superclasses

common-lisp:structure-object, common-lisp:t

Documented Subclasses

None

Details

The gdk-color structure is used to describe a color, similar to the XColor structure used in the X11 drawing API.
(define-g-boxed-cstruct gdk-color "GdkColor"
  (pixel :uint32 :initform 0)
  (red :uint16 :initform 0)
  (green :uint16 :initform 0)
  (blue :uint16 :initform 0))  
pixel
For allocated colors, the pixel value used to draw this color on the screen. Not used anymore.
red
The red component of the color. This is a value between 0 and 65535, with 65535 indicating full intensity.
green
The green component of the color.
blue
The blue component of the color.

Warning

gdk-color has been deprecated since version 3.14 and should not be used in newly-written code. Use gdk-rgba.
 

Returned by

Slot Access Functions

See also

2016-1-2