get_font_desc


Description:

public FontDescription? get_font_desc ()

Gets the currently-selected font.

Note that this can be a different string than what you set with [[email protected]_font], 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 [[email protected]] if you want to compare two font descriptions.

Parameters:

this

a `GtkFontChooser`

Returns:

A `PangoFontDescription` for the current font




2022 vala-language.org