Re: Changing background of TextView makes selection invisible

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

 



> Before you start following the page it is owth noting that
> gtk_widget_override_color(), which function is recommended here for
> you want to do

No, that overrides the color of the text of the widget, not the
background color.

There is 'gtk_override_background_color' (also deprecated since 3.16)
but that exhibits the same problem as the CSS-based solution: while the
color of the background indeed changes, it also sets the color of the
selection highlight to the same color. As a result, when you select
text in this TextView, you cannot see how much you have selected.

Cheers,
Kasper
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://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