Context.getGravity

Retrieves the gravity for the context.

This is similar to pango.context.Context.getBaseGravity, except for when the base gravity is pango.types.Gravity.Auto for which funcPango.Gravity.get_for_matrix is used to return the gravity from the current context matrix.

class Context
getGravity
()

Return Value

Type: pango.types.Gravity

the resolved gravity for the context.