Gtk.Widget.prototype.override_font

function override_font(font_desc:Pango.FontDescription):void {
    // Gjs wrapper for gtk_widget_override_font()
}

Sets the font to use for a widget. All other style values are left untouched. See Gtk.Widget.prototype.override_color.

Since 3.0

font_desc

the font descriptiong to use, or null to undo the effect of previous calls to Gtk.Widget.prototype.override_font