How to set background for entire GtkTextView



Hi,
I would like to set background for a GtkTextView, but as the whole -
also in areas where is no text.

I tried this, but it didn't work:

gtk_widget_modify_bg(Window->TextViewModuleData,GTK_STATE_NORMAL,&Background);

BTW, how to get current color of widget!?
I want to make GtkTextView in the same color as other;s widgets default
color(something gray).
So I want to get a bg color for a window or button and assign it to my
TextView.

Regards,

Olaf Fraczyk






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