[Sugar-devel] [Karma] how to attach an event listener to an image drawn on the canvas?

Bryan Berry bryan at olenepal.org
Mon Aug 24 05:22:21 EDT 2009


Hey subzero,

I am trying to add a reset button to adding_up_to_10. So far i have used
context.drawImage()

I can't figure out how to add an event listener for the 'click' event to
the Reset button. I saw that you added events to the buttons in
quadrilaterals lesson. I have looked at your code but I can't make head
or tails of it. Can you advise?

tks

-- 
Bryan W. Berry
Technology Director
OLE Nepal, http://www.olenepal.org



More information about the Sugar-devel mailing list