Keymap.getDirection

Returns the direction of effective layout of the keymap. Note that passing NULL for keymap is deprecated and will stop to work in GTK+ 3.0. Use gdk_keymap_get_for_display() instead. Returns the direction of the keymap.

class Keymap
PangoDirection
getDirection
()

Return Value

Type: PangoDirection

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

Meta