[pango.attribute.Attribute], which should be freed with [pango.attribute.Attribute.destroy]
attrWeightNew
fn
pango.attribute.Attribute attrWeightNew(pango.types.Weight weight)Create a new font weight attribute.
Parameters
weight | the weight |
Returns
the newly allocated