Gtk.FontButton.new_with_font

function new_with_font(fontname:String):Gtk.Widget {
    // Gjs wrapper for gtk_font_button_new_with_font()
}

Creates a new font picker widget.

Since 2.4

fontname

Name of font to display in font chooser dialog

Returns

a new font picker widget.