Package: gdk

Accessor gdk:screen-font-options

Lambda List

gdk:screen-font-options (object)

Syntax

(gdk:screen-font-options object) => options
(setf (gdk:screen-font-options object) options)

Arguments

object -- a gdk:screen object
options -- a cairo:font-options-t instance, or cffi:null-pointer to unset any previously set default font options

Details

The accessor for the font-options slot of the gdk:screen class gets or sets the default font options for the screen. Returns cffi:null-pointer if no default font options have been set.

These font options will be set on any Pango context newly created with the gdk:pango-context-for-screen function. Changing the default set of font options does not affect Pango contexts that have already been created.
 

See also

2025-10-09