Package: gtk

Accessor gtk:svg-weight

Lambda List

gtk:svg-weight (object)

Syntax

(gtk:svg-weight object) => weight
(setf (gtk:svg-weight object) weight)

Arguments

object -- a gtk:svg object
weight -- a number coerced to a double float for the font weight, as a value between -1.0d0 and 1000.0d0

Details

The accessor for the weight slot gets or sets the font weight that is used when rendering. The font weight affects the effective linewidth when stroking paths. The default value of -1 means to use the font weight from CSS.

Since 4.24
 

See also

2026-11-05