Method

GtkStyleContextget_direction

deprecated: 3.8 since: 3.0

Declaration [src]

GtkTextDirection
gtk_style_context_get_direction (
  GtkStyleContext* context
)

Description [src]

Returns the widget direction used for rendering.

Available since: 3.0

Deprecated since: 3.8

Use gtk_style_context_get_state() and check for #GTK_STATE_FLAG_DIR_LTR and #GTK_STATE_FLAG_DIR_RTL instead.

Return value

Type: GtkTextDirection

The widget direction.