nanogui: GR_EVENT_MASK_BUTTON_DOWN sent to parent and child ???
Subject:
GR_EVENT_MASK_BUTTON_DOWN sent to parent and child ???
From:
Stan Soukhanov ####@####.####
Date:
9 Mar 2006 22:17:45 +0000
Message-Id: <1141942664.4410a98824c20@courrier.privatedns.com>
The way I undesrtood the documentation is that if both the parent and the child
register for GR_EVENT_TYPE_BUTTON_DOWN and a mouse is clicked in the child,
while both are displayed, then the event is only sent to the upper window, the
child.
Is this how it's supposed to work? After a mouse click what I'm getting is one
event sent to the child first, and then to the parent. Is this right?
I'm trying to do a modal dialog, so the parent shouldn't care about mouse events
received in the child. I'm using nano-X 0.91
Thanks in advance,
Stan