StyleContext.setDirection

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.

More...
class StyleContext
void
setDirection

Parameters

direction gtk.types.TextDirection

the new direction.

Detailed Description

Deprecated: Use gtk.style_context.StyleContext.setState with #GTK_STATE_FLAG_DIR_LTR and #GTK_STATE_FLAG_DIR_RTL instead.