Re: Re: what happend to libseed-list? is seed dead?



It is very likely that gjs uses dynamic properties (eg. queries the object when you reference it.)

If you need to do things like this, have a look at girepository extension
http://www.roojs.com/seed/gir-1.2-gtk-3.0/seed/GIRepository.html

There is some example code in here - that generates the documentation above.
http://git.gnome.org/browse/introspection-doc-generator/tree/Introspect

Regards
Alan

 --- On 23/Oct/2012, Mohan R wrote: 
> On Tue, 2012-10-23 at 13:50 +0800, Alan Knowles wrote:
> > I'm maintaining it still, and we use seed based applications for or
> > daily operations, so it should work fine for most things.
> 
> Thank you. I like the way it works. a pure javascript implementation. I
> was able to go through all the symbols of GLib with the following code,
> 
> var GLib = imports.gi.GLib;
> for(var propName in GLib){print(propName + " = " + GLib[propName])};
> 
> But this is not working in gjs. do you know why this is happening? is
> gjs loads objects only when we make any call?
> 
> Thanks,
> Mohan R


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]