GSJ GIRepository VS Seed

2016-03-21 Thread Andrea Giammarchi
I've noticed that `seed` exposes all JS "classes", properties, and both public static or prototype methods correctly. My first attempt to have similar info in gjs was based on Proxies on the whole namespace and runtime discovery. Thankfully, but only recently, I've realized I could introspect upf

Re: GSJ GIRepository VS Seed

2016-03-21 Thread Alan Knowles
You have to check the class'es interfaces, and inheritance. There is seed code that does this here. https://git.gnome.org/browse/introspection-doc-generator/tree/Introspect the core bit that extracts class info is in Class.js and Base.js Regards Alan On Monday, March 21, 2016 11:25 PM, Andrea