PgAttribute.weightNew

Create a new font weight attribute.

class PgAttribute
static
weightNew

Parameters

weight PangoWeight

the weight

Return Value

the newly allocated PangoAttribute, which should be freed with pango_attribute_destroy().