PgAttribute.gravityNew

Create a new gravity attribute. Since 1.16

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(). [transfer full]

Meta