StyleContext.getDirection

Returns the widget direction used for rendering.

Returns

the widget direction

Deprecated

Use [gtk.style_context.StyleContext.getState] and

check for #GTK_STATE_FLAG_DIR_LTR and #GTK_STATE_FLAG_DIR_RTL instead.