Device.getDirection

pango.types.Direction getDirection()

Returns the direction of effective layout of the keyboard.

This is only relevant for keyboard devices.

The direction of a layout is the direction of the majority of its symbols. See funcPango.unichar_direction.

Returns