Gtk.Widget.prototype.modify_font
function modify_font(font_desc:Pango.FontDescription):void {
// Gjs wrapper for gtk_widget_modify_font()
}Sets the font to use for a widget.
All other style values are left untouched. See also Gtk.modify_style.
- font_desc
the font description to use, or null to undo the effect of previous calls to Gtk.Widget.prototype.modify_font