Re: [gtk-list] Button Realease Events




On Fri, 25 Dec 1998, Johan Levin wrote:
> 
> I see that the button widget and the gimp drawing area have worked this
> out, but I can't figure out how. That is, when zooming in gimp and moving
> the mouse outside the canvas and over e.g. the destroy-window-button and
> release the zoom gets the event.
> 
> How is that done?
> 

You need to gdk_grab_pointer(). Grep through some source and you should be
able to find some examples. 

Come to think of it I just wrote some code that forgot to do this. Oops.
:-) Off to fix that bug...

Havoc




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