Package: gdk

Accessor gdk:dmabuf-texture-builder-color-state

Lambda List

gdk:dmabuf-texture-builder-color-state (object)

Syntax

(gdk:dmabuf-texture-builder-color-state object) => colorstate
(setf (gdk:dmabuf-texture-builder-color-state object) colorstate)

Arguments

object -- a gdk:dmabuf-texture-builder object
colorstate -- a gdk:color-state instance, or nil

Details

The accessor for the color-state slot gets or sets the color state for the texture. By default, the color state is nil. In that case, GTK will choose the correct color state based on the format. If you do not know what color states are available, this is probably the right thing.

Since 4.16
 

See also

2026-08-08