:right-sidebar: True GravityHint =================================================================== .. currentmodule:: gi.repository.Pango .. versionadded:: 1.16 .. class:: GravityHint :no-contents-entry: ``PangoGravityHint`` defines how horizontal scripts should behave in a vertical context. That is, English excerpts in a vertical paragraph for example. See also :obj:`~gi.repository.Pango.Gravity` Fields ------ .. rst-class:: interim-class .. class:: GravityHint :no-index: .. attribute:: LINE For scripts not in their natural direction (eg. Latin in East gravity), choose per-script gravity such that every script respects the line progression. This means, Latin and Arabic will take opposite gravities and both flow top-to-bottom for example. .. attribute:: NATURAL Scripts will take their natural gravity based on the base gravity and the script. This is the default. .. attribute:: STRONG Always use the base gravity set, regardless of the script.