D Programming/D Forms Library

From Wikibooks, the open-content textbooks collection

Jump to: navigation, 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.


[edit] Simple DFL Example

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;
}

[edit] Dfl: Core library modules

[edit] See

DFL Home Page