Hi,

When a GtkTextView widget does not have the keyboard focus I would like
it to be grayed out, so that the user knows his keystrokes are going
elsewhere.


GdkRGBA color = {0.5, 0.5, 0.5, 1.0};
gtk_widget_override_background_color (staff->currentverse->data, 
GTK_STATE_FOCUSED, &color);

and the like are not doing it, because presumably these would affect the
border of the text.
I would prefer not to have to insert and remove tags from the text on
the focus signal - is there any way to achieve this otherwise?

Richard Shann


_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to