python - How Can I Find the Area/Vertices Occupied By a Widget in Kivy? -


i have 10 x 10 gridlayout 100 image widgets, , on_touch_down, want picture touched change different picture. since touch signal bubble through gridlayout , 100 image children, want check in on_touch_down see if touch coordinates within area occupied image touched. how can find vertices of image, or there alternative approach? calculating each image's 4 vertices added rather difficult since stretching these images.

many in advance. :)

self.pos , self.size have sufficed. how silly of me.


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -