nanogui: Mouse down event posting multiple events


Previous by date: 29 Apr 2004 02:28:54 +0100 Re: migrating a tcl/tk application to nano gui (microwindows) - newbie, Greg Haerr
Next by date: 29 Apr 2004 02:28:54 +0100 Re: Mouse down event posting multiple events, Greg Haerr
Previous in thread:
Next in thread: 29 Apr 2004 02:28:54 +0100 Re: Mouse down event posting multiple events, Greg Haerr

Subject: Mouse down event posting multiple events
From: tj ####@####.####
Date: 29 Apr 2004 02:28:54 +0100
Message-Id: <40905A4C.5020900@comcast.net>

I have been getting aquainted wiht nano-X, just writting simple stuff 
with no Window manager. I just saw something that confuses me.
I created a window off of GR_ROOT_WINDOW_ID and then a child window off 
of that window and set both to receive mouse down events. But when I 
print the id's of windows that cause the event I found that clicking the 
mouse in the child window TWO mouse down events are received, The first 
for the child window and then one for it's parent.

Why is there a second event posted for teh same action to the parent window?

tj



Previous by date: 29 Apr 2004 02:28:54 +0100 Re: migrating a tcl/tk application to nano gui (microwindows) - newbie, Greg Haerr
Next by date: 29 Apr 2004 02:28:54 +0100 Re: Mouse down event posting multiple events, Greg Haerr
Previous in thread:
Next in thread: 29 Apr 2004 02:28:54 +0100 Re: Mouse down event posting multiple events, Greg Haerr


Powered by ezmlm-browse 0.20.