set_family_static


Description:

public void set_family_static (string family)

Sets the family name field of a font description, without copying the string.

This is like [[email protected]_family], except that no copy of family is made. The caller must make sure that the string passed in stays around until this has been freed or the name is set again. This function can be used if family is a static string such as a C string literal, or if this is only needed temporarily.

Parameters:

this

a `PangoFontDescription`

family

a string representing the family name




2022 vala-language.org