get_font_name


Description:

public unowned string get_font_name ()

Retrieves the name of the currently selected font.

Note:

Use gtk_font_chooser_get_font instead

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

Parameters:

this

a FontButton

Returns:

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