Re: What event has happened?
- From: John Cupitt ng-london org uk
- To: hzeng hf tvia com
- Cc: gtk-list gnome org
- Subject: Re: What event has happened?
- Date: Fri, 1 Feb 2002 13:01:17 -0000
Ah, sorry, I misunderstood.
You could grab the pointer: then you get all mouse movement until you
ungrab. Of course, this will stop all other programs from working :-( so
you must be very careful.
gdk_pointer_grab() and gdk_pointer_ungrab().
> I think you misunderstand my meaning. I want to get the signal emit by
the app window when
> I move the mouse in anywhwere of the virtual desktop, the
enter_notify_event and the leave_notify_event is
> emit only the mouse enter the app window and leave the app window. I
must do some special work when
> my app move out of the monitor border in vertual screen or even the
visual position of the app window changed,
> I just don't know if there are such signals in gtk. Maybe the gtk
don't care about these situal and left it to be done by
> Xserver. I have try many event but they doesn't fit. Sorry about my
> Thanks anyway!
> ----- Original Message -----
>>Hi, I think you need "enter_notify_event" and "leave_notify_event". The
>>event watch in testgtk uses these sugnals.
John Cupitt, john cupitt ng-london org uk, +44 (0)20 7747 2570
VASARI Lab, The National Gallery, Trafalgar Square, London, WC2N 5DN
Aelbert Cuyp 13 February - 12 May 2002
For information and tickets:
] [Thread Prev