Getting text direction for BIDI content.

I need to know when a TextBuffer mark-set event enters a different
text direction. I tied to get the text direction from a text iter.
However I seems like it's always set to GTK_TEXT_DIR_NONE even if I
can see it renders a RTL.

Here's the pyGTK code I use to get the direction:
textattrs = gtk.TextAttributes()
textattrs .direction
I'm I doing something wrong or is there another way of getting the
text direction?

Another issue with BIDI in GTK that causes problems for me that GTK
does not respect the "gtk_widget_set_direction" but always tries to
"guess" the paragraph direction. See
Does anyone know if there is any solution in sight for this?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]