get_font_name


Description:

[ Version ( deprecated = true , deprecated_since = "3.22" , since = "2.4" ) ]
public unowned string get_font_name ()

Warning: get_font_name is deprecated since 3.22.

Retrieves the name of the currently selected font.

Note:

Use 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.




2022 vala-language.org