attrWeightNew

fnpango.attribute.Attribute attrWeightNew(pango.types.Weight weight) nothrow

Create a new font weight attribute.

Parameters

weightthe weight

Returns

the newly allocated

pango.attribute.Attribute, which should be freed with pango.attribute.Attribute.destroy