On Thu, May 17, 2012 at 9:38 PM, Amy C <mathematical.cof...@gmail.com> wrote: > On Thu, May 17, 2012 at 4:36 PM, Jasper St. Pierre > <jstpie...@mecheye.net> wrote: >> This is what the grab-op-begin/grab-op-end signals are for. > > A further question - how do I know what signals are available to > connect to, is there something I can do in looking-glass to get the > list? > > Because I only learn about signals at the moment by looking through > the gnome-shell/src and gnome-shell/js/ui files for 'signal' and > 'connect'. > > It took me ages to find the 'grab-op-*' signals defined anywhere, > because they ended up being the mutter source, which I was fortunate > enough to happen to have on my computer. > > Is the only way for me to learn about available signals by downloading > the source of each component of gnome-shell (mutter, clutter, atk, > ...) and grepping through them? (Well, I take that back about Clutter; > it fortunately has good enough documentation to list the signals it > defines in them).
This info is reasonably concisely documented in .gir files (gobject introspection somethingorother). For example, /usr/lib64/mutter/Meta-3.0.gir contains info about mutter classes / objects / signals. _______________________________________________ gnome-shell-list mailing list gnome-shell-list@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-shell-list