Method

GtkStyleContextget_direction

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

Returns: GtkTextDirection
 

The widget direction.