Like putting something like it in Function.pmod, or similar, instead? (It seems to expect all callbacks to take at least one mandatory argument, which might not be what you want in a more generic context.)
/ Johan Sundström (Achtung Liebe!)
Previous text:
2004-05-24 12:05: Subject: Re: Events in pike?
The only objection to using GTK.Util.signal_handling, is that it is somewhat "hidden" within the GTK module. It would be nice if it was moved upwards in the namespace and separated from GTK. That way, people won't feel like they "have to use GTK" to use events.
/ Marcus Agehall (Scanian)