[pango.attribute.Attribute], which should be freed with [pango.attribute.Attribute.destroy]
attrGravityNew
fn
pango.attribute.Attribute attrGravityNew(pango.types.Gravity gravity)Create a new gravity attribute.
Parameters
gravity | the gravity value; should not be [pango.types.Gravity.Auto] |
Returns
the newly allocated