PgFontDescription.setFamilyStatic

Like pango_font_description_set_family(), except that no copy of @family is made. The caller must make sure that the string passed in stays around until @desc 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 @desc is only needed temporarily.

class PgFontDescription
void
setFamilyStatic
(
string family
)

Parameters

family string

a string representing the family name.

Meta