Do widgets support introspection?

Mark Wieder ahsoftware at sonic.net
Tue Jan 9 23:36:06 EST 2018


On 01/09/2018 08:25 PM, hh via use-livecode wrote:
>> G.C. wrote:
>> Is there a way, given a widget, to find out programmatically what the
>> relevant properties of the widget are?
> 
> Only the documented ones.
> Even the property inspector shows only the "user_visible" ones.
> The only possibility I can see is to scan the lcb file (if it is available).
> 
> So, if somebody doesn't document the properties and the widget is not "open source" then you get nothing, whether programatically or not.

Might be easier to examine the manifest.xml file for the properties.
At least via a script.

-- 
  Mark Wieder
  ahsoftware at gmail.com




More information about the use-livecode mailing list