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 pango_attribute_destroy().

Meta

Since

1.16