Hi, I sent this question to the GTK list a couple of days ago, but did not have any luck so I thought I give this list a try also, hope you do not mind the cross post.
------------------- Hi, I need to know when a TextBuffer mark 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: 8<------- textattrs = gtk.TextAttributes() iter.get_attributes(textattrs) textattrs .direction ------>8 Am I 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 is that GTK does not respect the "gtk_widget_set_direction" but always tries to "guess" the paragraph direction. See bug:http://bugzilla.gnome.org/show_bug.cgi?id=167746 Does anyone know if there is any solution in sight for this? Regards, Fredrik _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/