GimpUi.FontSelectButton.new

function new(title: String, font_name: String): Gtk.Widget {
    // Gjs wrapper for gimp_font_select_button_new()
}
  

Creates a new Gtk.Widget that completely controls the selection of a font. This widget is suitable for placement in a table in a plug-in dialog.

Since 2.4

title

Title of the dialog to use or null to use the default title.

font_name

Initial font name.

Returns

A Gtk.Widget that you can use in your UI.