RGtk2 (version 2.20.31)

pangoContextSetBaseDir: pangoContextSetBaseDir

Description

Sets the base direction for the context.

Usage

pangoContextSetBaseDir(object, direction)

Arguments

direction
[PangoDirection] the new base direction

Details

The base direction is used in applying the Unicode bidirectional algorithm; if the direction is PANGO_DIRECTION_LTR or PANGO_DIRECTION_RTL, then the value will be used as the paragraph direction in the Unicode bidirectional algorithm. A value of PANGO_DIRECTION_WEAK_LTR or PANGO_DIRECTION_WEAK_RTL is used only for paragraphs that do not contain any strong characters themselves.