Re: emitting signals from a JS object

2011-06-14 Thread Giovanni Campagna
Il giorno mar, 14/06/2011 alle 19.22 +1000, Tim Cuthbertson ha scritto: > So it seems that all GObjects have an `emit` method for signals. > > I have need in my extension for one javascript object to be notified > of an event happening in another object. Both of these are plain old > javascript ob

emitting signals from a JS object

2011-06-14 Thread Tim Cuthbertson
So it seems that all GObjects have an `emit` method for signals. I have need in my extension for one javascript object to be notified of an event happening in another object. Both of these are plain old javascript objects. What do I need to call / inherit from in order to emit and connect to signa