FontButton.setFontName

bool setFontName(string fontname)

Sets or updates the currently-displayed font in font picker dialog.

Parameters

fontnameName of font to display in font chooser dialog

Returns

true

Deprecated

Use [gtk.font_chooser.FontChooser.setFont] instead