StyleContext.setDirection

Sets the reading direction for rendering purposes.

If you are using a #GtkStyleContext returned from gtk_widget_get_style_context(), you do not need to call this yourself.

More...
class StyleContext
void
setDirection

Parameters

direction GtkTextDirection

the new direction.

Detailed Description

Deprecated: Use gtk_style_context_set_state() with #GTK_STATE_FLAG_DIR_LTR and #GTK_STATE_FLAG_DIR_RTL instead.

Meta