question about event propagation in a canvas

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

 



[ 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
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux