NOTE: not maintained (by me) since 3.8 or so, looking for new maintainers! Contact me through the repo. This extension extends the existing looking glass by enhancing its object inspector and inspector. Mainly for developers. Improvements: * shows the code of functions upon inspection * shows all methods, classes, etc in a namespace upon inspection * shows full class description of classes from imports.gi (e.g. Meta.Display) * improve object inspector history (previously 1, now up to 100) * copy looking glass results as strings (right-click the result) * hold down SHIFT while using the LG picker/inspector to pass through events to gnome-shell, e.g. SHIFT+click on a popup menu to open it so that you can choose an item from it * full list of features at the homepage.
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
Version | Status |
---|---|
2 | Active |
1 | Active |
This is the GNOME 3.4 version (v1 is GNOME 3.2). It additionally makes use of a constructor's `.__super__.prototype.__name__` property to show GNOME-shell class' superclass (e.g. choosing PopupMenu.PopupMenu in the object inspector will show 'PopupMenuBase' as the superclass). (These changes were introduced in the Lang.Class mechanism in GNOME 3.4 that wasn't there for 3.2). There's also some hackiness in that I can't simply say `LookingGlass.[ClassName] = MyNewClassName` any more because classes in GNOME 3.4 are all declared as `const`, so instead I just assign the prototype.