attrWeightNew

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]