Gtk.FontChooser.prototype.set_font

function set_font(fontname:String):void {
    // Gjs wrapper for gtk_font_chooser_set_font()
}

Sets the currently-selected font.

Since 3.2

fontname

a font name like "Helvetica 12" or "Times Bold 18"