attr_gravity_new


Description:


[ Version ( since = "1.16" ) ]
public Attribute attr_gravity_new (Gravity gravity)

Create a new gravity attribute.

Parameters:

gravity

the gravity value; should not be pango_gravity_auto

Returns:

the newly allocated `PangoAttribute`, which should be freed with [method@Pango.Attribute.destroy]


Namespace: Pango
Package: pango