The new DWT2

Christopher Wright dhasenan at gmail.com
Sat Mar 21 06:08:51 PDT 2009


Frank Benoit wrote:
> Now there is the new hg repository for DWT2.
> 
> DWT2 is like dwt-win/linux/addons, but the folders are organized in the
> original directory structure of the Eclipse sources. This also means the
> packages are again like the original.
> 
> 	DWT.CENTER =>
> 	SWT.CENTER
> 
> 	import dwt.widgets.Button; =>
> 	import org.eclipse.swt.widgets.Button;

Wow, that's like twelve extra characters. I did want to try this out, 
but I already have gtkd, and that lets me just import gtk.Button.

It shouldn't be too hard to write a script that would generate files of 
the type:
module dwt.Button;
public import org.eclipse.swt.widgets.Button;


More information about the Digitalmars-d-announce mailing list