RE: object introspection from lg



If I recall correctly, there's a catch tough - for introspected objects,
> only properties/methods which have been used through
> gobject-introspection before will show up.
>
thats true the properties are only shown after the first use.

Have a look at the _javascript_ Object class. Object.keys(obj) is quite similar to dir(obj) in python.
https://developer.mozilla.org/en/_javascript_/Reference/Global_Objects/Object

clemens

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