PgAttribute.fontDescNew

Create a new font description attribute. This attribute allows setting family, style, weight, variant, stretch, and size simultaneously.

class PgAttribute
static
fontDescNew

Parameters

desc PgFontDescription

the font description

Return Value

the newly allocated PangoAttribute, which should be freed with pango_attribute_destroy(). [transfer full]

Meta