Re: Changing background of TextView makes selection invisible
- From: Bálint Réczey <balint balintreczey hu>
- To: Kasper Peeters <kasper peeters phi-sci com>
- Cc: GTK Devel List <gtk-devel-list gnome org>, ML-gtk <gtk-list gnome org>
- Subject: Re: Changing background of TextView makes selection invisible
- Date: Sun, 14 Jun 2015 23:57:38 +0200
<Cross posting to devel because devs don't read the original list>
2015-06-14 23:51 GMT+02:00 Kasper Peeters <kasper peeters phi-sci com>:
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.
Is there anyone who knows a solution for that?
Cheers,
Balint
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]