findBaseDir

Searches a string the first character that has a strong direction, according to the Unicode bidirectional algorithm.

findBaseDir
(
string text
)

Parameters

text string

the text to process. Must be valid UTF-8

Return Value

Type: pango.types.Direction

The direction corresponding to the first strong character. If no such character is found, then pango.types.Direction.Neutral is returned.