Device.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 [func@Pango.unichar_direction].

class Device
PangoDirection
getDirection
()

Return Value

Type: PangoDirection

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

Meta