Method

GtkStyleContextset_direction

deprecated: 3.8 since: 3.0

Declaration [src]

void
gtk_style_context_set_direction (
  GtkStyleContext* context,
  GtkTextDirection direction
)

Description [src]

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.

Available since: 3.0

Deprecated since: 3.8

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

Parameters

direction

Type: GtkTextDirection

The new direction.