StyleContext.setDirection

void setDirection(gtk.types.TextDirection direction)

Sets the reading direction for rendering purposes.

If you are using a #GtkStyleContext returned from gtk.widget.Widget.getStyleContext, you do not need to call this yourself.

Parameters

directionthe new direction.

Deprecated

Use gtk.style_context.StyleContext.setState with

#GTK_STATE_FLAG_DIR_LTR and #GTK_STATE_FLAG_DIR_RTL instead.