get_direction


Description:

public Direction get_direction ()

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].

Parameters:

this

a `GdkDevice`

Returns:

pango_direction_ltr or pango_direction_rtl if it can determine the direction. pango_direction_neutral otherwise