www.digitalmars.com         C & C++   DMDScript  

D - What about Signals and Callbacks?

reply Joshua Booth <jbooth HotPOP.com> writes:
GNU's GTK+ relies very heavily on signals and callbacks and I'm sure 
other libraries (especially GUI toolkits) could use this kind of 
communication, so wouldn't it be sensible to put it in the language? 
I've gone through the spec some and didn't see anything like that.
Feb 10 2003
parent Andy Friesen <andy ikagames.com> writes:
They don't need to be built into the language; it's really easy to wrap 
a set of delegates to achieve the same end result.

Joshua Booth wrote:
 GNU's GTK+ relies very heavily on signals and callbacks and I'm sure 
 other libraries (especially GUI toolkits) could use this kind of 
 communication, so wouldn't it be sensible to put it in the language? 
 I've gone through the spec some and didn't see anything like that.
 
Feb 10 2003