Hey everyone,

I have hopefully a simple question. I have a window that contains a
textview in it. I want to change the background color of the textview
whenever the window becomes inactive, i.e. whenever the title bar
becomes grayed out. 

I tried using the “focus-out-event” on the window along with
gtk_window_is_active(). But that changes the background color even when
you right click on the textview.

How can I truly tell when the window becomes inactive?

TIA,
Luke


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

Reply via email to