Find Signal Name, in callback handler.
- From: Muthiah Annamalai <dearestchum yahoo co in>
- To: gtk-app-devel-list gnome org
- Subject: Find Signal Name, in callback handler.
- Date: Sun, 19 Mar 2006 10:32:31 -0800 (PST)
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]