PgAttribute.gravityNew

Create a new gravity attribute.

class PgAttribute
static
gravityNew

Parameters

gravity PangoGravity

the gravity value; should not be %PANGO_GRAVITY_AUTO.

Return Value

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

Meta

Since

1.16