get_direction


Description:

[ Version ( deprecated = true , deprecated_since = "3.8" , since = "3.0" ) ]
public TextDirection get_direction ()

Warning: get_direction is deprecated since 3.8.

Returns the widget direction used for rendering.

Note:

Use get_state and check for DIR_LTR and DIR_RTL instead.

Parameters:

this

a StyleContext

Returns:

the widget direction