catch the event signal and pass to the item underneath the transparent area | [reply] |
Hey, if you figure it out, post an example please. :-) From my testing, rects and ellipses with transparent centers will let the signal pass thru, but a transparent section of an image shows the image as the current item. If you look at the Goo demo, and move the toroid.png ( with a transparent center) over another item, then try to drag the item in the visible hole, the toroid moves. In the Gnome2::Canvas, the item in the hole will be detected and moved. Maybe the beta state of Goo still has this as a limitation? Maybe you could work around it by adjoining separate images, so they have a whole in them.... kind of clunky. :-)
| [reply] |
i got an idea.. how about putting a layer with transparent fill above the image and the transparent image? the layer at the bottom has no signal handler, instead the the layer with transparent fill recieved the signal and when moved, it moves and let the image at the bottom be dragged along with it. its like sandwiching the "transparent image w/ hole" between the "image" and the "transparent filled rectangle" !! maybe i try to make an example later. :D
| [reply] |