dgListener creates a class implementing the Listener interface and delegating the call to handleEvent to the users delegate. This template function will store also additional parameters.
Examle of usage:
void handleTextEvent (Event e, int inset ) { // ... } text.addListener (SWT.FocusOut, dgListener( &handleTextEvent, inset ));
See Implementation
dgListener creates a class implementing the Listener interface and delegating the call to handleEvent to the users delegate. This template function will store also additional parameters.
Examle of usage: