Checking for window inactivity
- From: Luke McOmber <lmcomber rochester rr com>
- To: GTK-APP-DEVEL-LIST <gtk-app-devel-list gnome org>
- Subject: Checking for window inactivity
- Date: Sun, 05 Jun 2005 19:00:04 -0400
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]