Package: gtk

Accessor gtk:text-tag-foreground

Lambda List

gtk:text-tag-foreground (object)

Syntax

(setf (gtk:text-tag-foreground object) color)

Arguments

object -- a gtk:text-tag object
color -- a string with the foreground color

Details

Accessor of the foreground slot of the gtk:text-tag class.

Notes

The foreground property is not readable, but writable.
(defvar tag (gtk:text-tag-new nil)) => TAG
(setf (gtk:text-tag-foreground tag) "red") => "red"
(gtk:text-tag-foreground-rgba tag)
=> #S(GDK:RGBA :RED 1.0 :GREEN 0.0 :BLUE 0.0 :ALPHA 1.0)    
 

See also

2024-7-2