Binding events to canvas items

So far, we have seen how to bind events to widgets; however, it is also possible to do so for canvas items. This helps us to write more specific and simpler event handlers, instead of binding all the types of events we want to process on the Canvas instance and then determining which action has to be applied according to the affected item.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset