Re: Changing background of TextView makes selection invisible
- From: Kasper Peeters <kasper peeters phi-sci com>
- To: Bálint Réczey <balint balintreczey hu>
- Cc: ML-gtk <gtk-list gnome org>
- Subject: Re: Changing background of TextView makes selection invisible
- Date: Sun, 14 Jun 2015 22:51:08 +0100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]