RE: object introspection from lg
- From: bleiburg <bleiburg aon at>
- To: gnome-shell-list gnome org
- Subject: RE: object introspection from lg
- Date: Wed, 9 Nov 2011 23:47:30 +0100 (CET)
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]