FontDescription.setFamily

Sets the family name field of a font description.

The family name represents a family of related font styles, and will resolve to a particular pango.font_family.FontFamily. In some uses of pango.font_description.FontDescription, it is also possible to use a comma separated list of family names for this field.

class FontDescription
void
setFamily
(
string family
)

Parameters

family string

a string representing the family name.