How to change background color of GtkTextView , GtkTextBuffer ?



Hi,

I created GtkTextView from gtk_text_view_new() and get
the GtkTextBuffer from gtk_text_view_get_buffer. I
want to know how to change the background color of it
? 
I tried to change the background color of GtkTextView
by this function gtk_widget_modify_bg. But it does not
work. 

Thanks,
-Tongchit




		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail



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