Imports in DWT

Frank Benoit keinfarbton at
Tue Feb 26 06:10:57 PST 2008

I wonder what is the best import strategy for DWT. Well, i know there is 
no single "right way". So what are your thoughts?

1. import everything explicitely

2. have a dwt.all module that imports really all

3. have groups import modules aka tango

4. publically import all types used in the API of a widget.
    So dwt.Button would publically import:
     - dwt.DWT
     - dwt.widget.Control
     - dwt.widget.Composite

5. publically import API types, but only manually picked ones
     - dwt.layout.GridData
     - dwt.DWT

More information about the Digitalmars-d-dwt mailing list