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
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