Compiling the hello world example fails (2)

Anton Alexeev alexanto at gmx.de
Thu Sep 12 10:28:53 PDT 2013


Found out how to handle events:

class DisposeListenerImpl:DisposeListener{
    public void widgetDisposed(DisposeEvent e) {
        writeln("Disposed");
    }
}	

shell.addDisposeListener(new DisposeListenerImpl);


Is this the right way?



More information about the Digitalmars-d-dwt mailing list