Context.getGravity
pango.types.Gravity 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.
Returns
the resolved gravity for the context.