dtbuilder
More info
- Creator
- Sun Microsystems, as part of CDE
- Type
- GUI builder
- Predecessor
- DevGuide
- License
- LGPL 2.0 (since 2012)
CDE's Application Builder, where you assembled a Motif interface with the mouse and let a code generator write the C.
Writing a Motif program by hand meant hundreds of lines of XtVaCreateManagedWidget and resource names before a single button appeared. Application Builder, launched as dtbuilder, offered instead a palette of windows, panes, buttons and lists to drop onto a work area, plus a property editor for colours, fonts and behaviour. A project was saved as a .bip file with one .bil file per module, in a text format that survived version control. The dtcodegen tool then produced C source, makefiles and callback stubs, with clearly marked regions where the programmer filled in their own logic without the next generation run overwriting it.
The tool was Sun's contribution and, in effect, a Motif edition of DevGuide from OpenWindows, which fit, since CDE was meant to absorb OpenWindows users. It understood the desktop's quirks: generated code registered ToolTalk messages, help volumes and drag-and-drop. Like every code generator of its era it produced code that was easier to read than to change, and when GTK and Qt took over the Unix desktop nobody followed. It remains one of the few parts of CDE that several vendors actually documented properly.