get_direction


Description:

public Direction get_direction ()

Returns the direction of effective layout of the keyboard, if this is a keyboard device.

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

Parameters:

this

a Device

Returns:

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