GTK2: GTKWindow events



Hi,

 In my app, I need to be notified when the user activates or deactivates
a window. I am using the "focus-in-event" and "focus-out-event" to do this,
but the problem is that I get notified even when I drag the window around
(I have a focus-out and the a focus-in) or iconify it.

Is there any other event I could use to avoid this problem?

--
Ciao,
  Fabio
----------------------------------------------------------
NOLUG:  http://www.rotondo.it/nolug/
Advanced Foundation Classes: http://afc.sf.net
Reqtools - The Requester Library: http://reqtools.sf.net
MAME Visual Guide:  http://www.rotondo.it/~fabio/mamevg/
----------------------------------------------------------
Registered Linux User #264499 - http://counter.li.org





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]