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

Re: Gtk text_view widget (R to L display)



On Sat, Jun 28, 2003 at 10:22:08PM +0300, Ahmad Al-rasheedan wrote:
> Good people,
> 
> I m working on a Gtk based app and have a TextView widget at hand.
> Upon insertion of Arabic text, it defaults to L to R. Any clue on how
> to display text R to L?
> 

GtkWidget *foo;
foo = gtk_text_view_new();
gtk_widget_set_direction (foo, GTK_TEXT_DIR_RTL);

-- 
----------------
-- Katoob Main Developer
Linux registered user # 224950
ICQ # 58475622
FIRST make it run, THEN make it run fast "Brian Kernighan".
--
Don't send me any attachment in Micro$oft (.DOC, .PPT) format please
Read http://www.fsf.org/philosophy/no-word-attachments.html
Preferable attachments: .PDF, .HTML, .TXT
Thanx for adding this text to Your signature

Attachment: pgp00011.pgp
Description: PGP signature