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

Re: Mouse Motion



Havoc Pennington wrote:
> 
> On Sun, 29 Nov 1998, SEGV wrote:
> >
> > Any ideas? I'd like to do lasso selection, dragging, autoscrolling, etc. Not too
> > hard, but difficult when you can't get motion notify events!
> >
> 
> Are you calling whichever gdk call it is to get the pointer position as
> you get each event? MotionNotify only comes once unless you do this. xref
> the Scribble example in the tutorial, I think it talks about it.
> 
> Havoc

Of course. It works now.

I had checked the sources for several programs and still didn't notice that. I
read that part of the tutorial a few weeks ago, but since I wasn't playing with
the mouse it wasn't as relevant and I forgot it.

I wish I had a category-killer GTK+ book with an awesome index.

-- 
SEGV    http://www.cgocable.net/~mlepage/



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