Keymap.getDirection

Returns the direction of effective layout of the keymap.

class Keymap
getDirection
()

Return Value

PANGO_DIRECTION_LTR or PANGO_DIRECTION_RTL if it can determine the direction. PANGO_DIRECTION_NEUTRAL otherwise.