GtkTextView background color when not focused
- From: Richard Shann <richard rshann plus com>
- To: gtk-app-devel-list gnome org
- Subject: GtkTextView background color when not focused
- Date: Tue, 22 Apr 2014 10:25:59 +0100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]