D Programming/D Forms Library

From Wikibooks, open books for an open world
Jump to navigation Jump to search

To be completed.

DFL (D Forms Library) is a Win32 windowing library designed by Christopher E. Miller for the D language.

Maybe, there will be a linux and xBSD versions as well.

Licence is unknown so far.

Simple DFL Example[edit | edit source]

import dfl.all;
int main()
{
   Form myForm;
   Label myLabel;

   myForm = new Form;
   myForm.text = "DFL Example";

   myLabel = new Label;
   myLabel.font = new Font("Verdana", 14f);
   myLabel.text = "Hello, DFL World!";
   myLabel.location = Point(15, 15);
   myLabel.autoSize = true;
   myLabel.parent = myForm;

   Application.run(myForm);

   return 0;
}

Dfl: Core library modules[edit | edit source]

See[edit | edit source]

DFL Home Page