Re: [pygtk] Retrieving the signal_name from a handler function

2006-01-04 Thread Johan Dahlin
Thierry Lam wrote: For the follow codes: handler_id = object.connect("signal_name", handler, arg1, arg2, arg3) def handler(object, arg1, arg2, arg3): How can I determine the "signal_name" from within the handler function? You can't. The easiest work around is to send the name of the signal

[pygtk] Retrieving the signal_name from a handler function

2006-01-04 Thread Thierry Lam
For the follow codes: handler_id = object.connect("signal_name", handler, arg1, arg2, arg3) def handler(object, arg1, arg2, arg3): How can I determine the "signal_name" from within the handler function? Thanks Thierry ___ pygtk mailing list pygt