You can find some (albiet limited) documentation for the Shell toolkit here:
http://developer.gnome.org/shell/unstable/ Unfortunately, we don't generate mutter documentation yet. You can find the documentation for meta_display_add_keybinding here: http://git.gnome.org/browse/mutter/tree/src/core/keybindings.c You can also look through the .gir file, which is where the GJS bindings are generated from: /usr/lib64/mutter/Meta-3.0.gir Note that there is currently work on a new documentation system that can generate native JS documentation instead of C, directly from the GIR file, and when that is completed, hopefully we can generate and upload mutter documentation, too. On Sat, Feb 2, 2013 at 9:13 PM, Jason Heeris <jason.hee...@gmail.com> wrote: > I'm trying to train myself up in writing Gnome Shell extensions > through simple little exercises. My current goal is to write an > extension that responds to a specific shortcut key. Looking at > extensions like "brightness control" and "web search dialog", I gather > I need to use the "global.display.add_keybinding" function... but I > can't find any API documentation for it. > > I trawled through the source of Gnome Shell to find, in > "shell-global.c", the properties for the "global" object. (Was this > the only way, or is there documentation somewhere else I've missed?) > According to this, "display" is a "MetaDisplay" object, which is a > "Metacity screen object for the shell". But I can't find any > documentation for it, and looking through the Mutter source code > hasn't helped much. > > So where do I learn more about this? > > — Jason > _______________________________________________ > gnome-shell-list mailing list > gnome-shell-list@gnome.org > https://mail.gnome.org/mailman/listinfo/gnome-shell-list > -- Jasper
_______________________________________________ gnome-shell-list mailing list gnome-shell-list@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-shell-list