Widget.modifyFont

void modifyFont(pango.font_description.FontDescription fontDesc = null)

Sets the font to use for a widget.

All other style values are left untouched. See also [gtk.widget.Widget.modifyStyle].

Parameters

fontDescthe font description to use, or null to undo the effect of previous calls to [gtk.widget.Widget.modifyFont]

Deprecated

Use [gtk.widget.Widget.overrideFont] instead