set_direction


Description:

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

Warning: set_direction is deprecated since 3.8.

Sets the reading direction for rendering purposes.

Note:

Use set_state with DIR_LTR and DIR_RTL instead.

If you are using a StyleContext returned from get_style_context, you do not need to call this yourself.

Parameters:

this

a StyleContext

direction

the new direction.