DFL, the D Forms Library, is an easy to use user interface toolkit for the D programming language. It brings you a high level, easy to use interface, abstracted from the native API.
New Entice Designer and DFL video tutorials!
If you are already using D or already setup your D compiler, you can skip on to the next section. Otherwise, you need to dive into D and install a compiler. Below are your options. Click on the links for setup instructions and more information.
If you are already using DFL or already have it setup, you can skip on to the next section. Otherwise, go on over to the DFL page and download the DFL installer!
After going through the installer, you will have new start menu shortcuts, one of which points to many DFL examples.
The Wiki for D has a page listing many Editors and IDEs supporting D.
Entice Designer is recommended for DFL users as it comes with a drag-and-drop GUI builder for DFL windows, and contains a rich code editor.
Compiling with DFL can be done several ways, some ways easier than others.
dfl sourcefile.d you can add -gui switch and any other source files to include in the compilation (for example, if the code you are compile is split across 2 files, you will need to include both file names).
rebuild sourcefile.d you can add the -gui and -version=gui switches; note that you do not need to enter any other source files to the command, it will figure it out.
bud sourcefile.d you can add -gui and -version=gui switches; note that you do not need to enter any other source files to the command, it will figure it out.
Phobos users:
An example compiling using the dfl.exe command using Phobos is detailed below.
cd C:\dmd\packages\dfl\examples
dfl -gui helloworld.d
helloworld