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

Re: Wanna catch a motion event



On Sun, Feb 06, 2000 at 04:46:44PM -0500, Havoc Pennington wrote:
> Just call it from your motion event handler. See the "scribble"
> example in the tutorial.
> 
> This is in sect. 10.5.6, Mouse Movement Events, page 206 in my book.
Yes it is, but I did not understand it _until_ I made a 
grep motion_event */* in the gtk+-1.2.6 directory, found scribble and
copied the event handler. And now i think that maybe I understand what 
gtk_window_get_pointer() is for ... am I right when I think that by calling
it I signal the signal marshaller (or whoever is concerned by this) that I´m
ready for the next event or hint?

Please clarify the usage of gtk_window_get_pointer() in your book, as it is
quite clear and descriptive in most other cases ...

mfg
-- 
Andreas Sliwka   | goff@nef.wh.uni-dortmund.de | ICQ goff:13961062
------BEGIN GEEK CODE BLOCK-----
GCS/MU/L d-(+) S:++ a- C++$ UL++$ P++$ L+++$ E--- W+$ N++ o-- K- w-- O- !M !V
PS+(++) PE Y+ PGP>++ t(+) 5+ X- R tv+ b+++ DI++ D G e+ h- r++ x+++
-------END GEEK CODE BLOCK------



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