sez “J. Landman Gay" <jac...@hyperactivesw.com>:
> The original issue that influenced this one was how to provide a larger hit 
> zone on an SVG widget. How would this property work for that?
I’m thinking that a single line of code would suffice:

set the clickableRegion of widget “Fred” to ListOfPoints

As i’ve noted previously, the engine *already* handles clickable regions for 
*every* control, and my proposal ‘merely’ (he says, optimistically…) opens up 
the engine’s mechanisms to the extent of granting developers the opportunity to 
override the engine’s default “define the clickable region” behavior. If a dev 
is happy with the default clickable regions provided by the engine, that dev 
can just ignore the clickableRegion property and everything should work the 
same as it always did… but if a dev *isn’t* happy with the default clickable 
regions provided by the engine, *then* that dev can mess around with the 
clickableRegion property.



   
"Bewitched" + "Charlie's Angels" - Charlie = "At Arm's Length"
    
Read the webcomic at [ http://www.atarmslength.net ]!
    
If you like "At Arm's Length", support it at [ 
http://www.patreon.com/DarkwingDude ].

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to