of the current font
FontChooser.getFont
string getFont()Gets the currently-selected font name.
Note that this can be a different string than what you set with [gtk.font_chooser.FontChooser.setFont], as the font chooser widget may normalize font names and thus return a string with a different structure. For example, “Helvetica Italic Bold 12” could be normalized to “Helvetica Bold Italic 12”.
Use [pango.font_description.FontDescription.equal] if you want to compare two font descriptions.
Returns
A string with the name
Deprecated
Use [gtk.font_dialog.FontDialog] and [gtk.font_dialog_button.FontDialogButton]
instead