Re: What event has happened?



hzeng wrote:

>     At the virtual screen of XWindow,when I do nothing to my app window
and only move the
>  mouse, so my app window will move out of the view port bordered by the
monitor. In this
>  situation I want to do some thing in my app, but how can I get the
signal, or what event
>  happen? 


Hi, I think you need "enter_notify_event" and "leave_notify_event". The 
event watch in testgtk uses these sugnals.

John



========================================================== 
Coming soon: 
Aelbert Cuyp 13 February - 12 May 2002 

For information and tickets: 
http://www.nationalgallery.org.uk



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