instead
FontChooser.setFontDesc
void setFontDesc(pango.font_description.FontDescription fontDesc)Sets the currently-selected font from font_desc.
Parameters
fontDesc | a [pango.font_description.FontDescription] |
Deprecated
Use [gtk.font_dialog.FontDialog] and [gtk.font_dialog_button.FontDialogButton]