FontSelectionDialog.setFontName

Warning gtk_font_selection_dialog_set_font_name has been deprecated since version 3.2 and should not be used in newly-written code. Use GtkFontChooserDialog Sets the currently selected font.

class FontSelectionDialog
int
setFontName
(
string fontname
)

Parameters

fontname string

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

Return Value

Type: int

TRUE if the font selected in fsd is now the fontname specified, FALSE otherwise.

Meta