License:
BSD style: see license.txtAuthors:
Sean KellyExample:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | class Button { Signal!(Button) press; } void wasPressed( Button b ) { printf( "Button was pressed.\n" ); } Button b = new Button; b.press.attach( &wasPressed ); b.press( b ); |