Imports in DWT
Frank Benoit
keinfarbton at googlemail.com
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
- dwt.events.SelectionListener
- dwt.graphics.Point
- dwt.graphics.Image
5. publically import API types, but only manually picked ones
dwt.layout.GridLayout:
- dwt.layout.GridData
dwt.Button:
- dwt.DWT
- dwt.events.SelectionListener
More information about the Digitalmars-d-dwt
mailing list