public TextDirection get_locale_direction ()
Get the direction of the current locale.
This is the expected reading direction for text and UI.
This function depends on the current locale being set with setlocale and will default to setting the gtk_text_dir_ltr direction otherwise. gtk_text_dir_none will never be returned.
This function is only needed rare cases when the locale is changed after GTK has already been initialized. In this case, you can use it to update the default text direction as follows:
setlocale (LC_ALL, new_locale);
direction = gtk_get_locale_direction ();
the TextDirection of the current locale