Find Signal Name, in callback handler.



Dear friend,

I want to know if its possible to find Signal Name, in
callback handler.

Im writing language bindings and I need to evaluate
some designs on routing callbacks; with a fair
amount of searching on archives of this ML,
I dont find this question answered well, enough.

Q: void handler(GObject *obj,gpointer *ptr)
   {
          //how do I know which signal 
          // eg: changed, clicked, or whatever
          // triggered this handler?
   }

I can see some of the folks trying to show me the
thing called closures, but I dont want to tackle
that beast now.

Any & All help is appreciated.
Thanks
Muthu Annamalai


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]