question about event propagation in a canvas
- From: Paul Davis <paul linuxaudiosystems com>
- To: gtk-list gnome org
- Subject: question about event propagation in a canvas
- Date: Wed, 29 Oct 2003 09:45:16 -0500
[ slightly off-topic, but the wizards are here : ]
imagine the heirarchy of a canvas object:
canvas
/ \
/ \
object1 group1
/ \
/ \
object2 object3
now imagine that object1 is intended to be purely visual - it is
always visible ("on top" of the canvas), but does not respond to any
events. by contrast, objects 2 and 3 are responsive to events, but may
be visually occluded by object1.
when an event does occur with the pointer "in" object1, the event
propagates immediately to the canvas, and dead ends there. this means
that object1's presence on the canvas makes some areas of the canvas
"dead".
what you really would like to do is to handle the event all over
again, trying the other "branch" (es) of the group/object heirarchy.
have any of the incarnations and permutations of the GnomeCanvas
tackled this issue? am i missing an easy solution?
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]