Re: window-state-event

Espen S Johnsen <[email protected]> 13 Jul 2006 11:15:11 +0200
Newsgroups gmane.lisp.clg.devel
Message-ID <[email protected]>
Carlos Agon <[email protected]> writes:

> I want to execute a function each time that a window is bring to the  
> front level either because user click on it or because the toplevel  
> window was closed.
> 
> I try using the signal window-state-event but it does work
> 
> maybe it is not the good signal

This signal is only emitted when a window is iconified, maximized, made
sticky and so on. The signal you probably want to connect to is
focus-in-event which is emitted when a window receives the input focus.

-- 
Espen


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642