Re: Changing [entire] background of a GtkTextView

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

 



Vadim Berezniker wrote:

I want to change the entire background of a GtkTextView to the background of its parent container. Using Tags, I can only change the background of the parts of the view with text.
Changing the background using the widget style has no effect. (The only thing that seems possible to change is the text color).


Consider gtk_widget_modify_base() function:

GdkColor color;
color.red = 0xffff;
color.blue = 0xeeee;
color.green = 0xcccc;
gtk_widget_modify_base(GTK_WIDGET(your_text_view), GTK_STATE_NORMAL, &color);


Olexiy


_______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux