Package: gtk

Function gtk:style-context-scale

Lambda List

gtk:style-context-scale (context)

Syntax

(gtk:style-context-scale context) => scale
(setf (gtk:style-context-scale context) scale)

Arguments

context -- a gtk:style-context object
scale -- an integer with a scale

Details

Accessor of the scale used for image assets for the style context. The gtk:style-context-scale function returns the scale to use when getting image assets for the style. The (setf gtk:style-context-scale) function sets the scale.

Warning

This function is deprecated since 4.10. Use the gtk:widget-scale-factor function instead.
 

See also

#2023-9-18