FontButton.getFontName

Retrieves the name of the currently selected font. This name includes style and size information as well. If you want to render something with the font, use this string with pango_font_description_from_string() . If you’re interested in peeking certain values (family name, style, size, weight) just query these properties from the #PangoFontDescription object.

More...
class FontButton
string
getFontName
()

Return Value

Type: string

an internal copy of the font name which must not be freed.

Detailed Description

Deprecated: Use gtk_font_chooser_get_font() instead

Meta