[gcompris-devel] SVG image usage
Bruno Coudoin
bruno.coudoin at gcompris.net
Tue Aug 2 19:33:57 UTC 2011
Le lundi 01 août 2011 à 21:28 +0530, Karthik S a écrit :
>
>
> I have 12 parts in an svg image, and I need to find which ID is
> clicked when the user clicks on it. Is it possible to find using one
> svg? Or i should create an item for each id?
>
Hum, when you create an image, you specify the svg image and the svg id.
Then you hacve a regular goocanvas image object and you can create
callbacks on it like for any image. Does that helps you ?
Bruno.
More information about the Gcompris-devel
mailing list