attrGravityNew

Create a new gravity attribute.

Parameters

gravitythe gravity value; should not be pango.types.Gravity.Auto

Returns

the newly allocated

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