Keymap.getDirection

pango.types.Direction getDirection()

Returns the direction of effective layout of the keymap.

Returns

[pango.types.Direction.Ltr] or [pango.types.Direction.Rtl]

if it can determine the direction. [pango.types.Direction.Neutral] otherwise.