diff --git a/README.md b/README.md index bd946970..f6be358e 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,7 @@ Currently implemented widgets: * GridWidgetBase - abstract Grid widget * StringGrid - grid view with strings content * TreeWidget - tree view +* ComboBox - combo box with text items Layouts ------- @@ -224,6 +225,39 @@ Hello World } +Sample dub.json: +-------------------------------- + + { + "name": "myproject", + "description": "sample DLangUI project", + "homepage": "https://github.com/buggins/dlangui", + "license": "Boost", + "authors": ["Vadim Lopatin"], + + "targetName": "example", + "targetPath": "bin", + "targetType": "executable", + + "sourcePaths": ["src"], + + "sourceFiles": [ + "src/app.d" + ], + + "copyFiles-windows": [ + "lib/FreeImage.dll" + ], + + "copyFiles": [ + "res" + ], + + "dependencies": { + "dlangui:dlanguilib": "~master" + } + } + Sample project ------------------------------------------------------------ diff --git a/src/index.d b/src/index.d index 5da60150..f3f8713a 100644 --- a/src/index.d +++ b/src/index.d @@ -42,6 +42,10 @@ Ddoc
  • TabControl - tabs widget, allows to select one of tabs
  • TabHost - container for pages controlled by TabControl
  • TabWidget - combination of TabControl and TabHost
  • +
  • GridWidgetBase - abstract Grid widget
  • +
  • StringGrid - grid view with strings content
  • +
  • TreeWidget - tree view
  • +
  • ComboBox - combo box with text items
  • Layouts

    @@ -199,6 +203,8 @@ standard values are used.

    Hello World

    +Sample code: + ------------------------------------------ // main.d import dlangui.all; @@ -230,3 +236,39 @@ extern (C) int UIAppMain(string[] args) { } -------------------------------- +Sample dub.json: +-------------------------------- +{ + "name": "myproject", + "description": "sample DLangUI project", + "homepage": "https://github.com/buggins/dlangui", + "license": "Boost", + "authors": ["Vadim Lopatin"], + + "targetName": "example", + "targetPath": "bin", + "targetType": "executable", + + "sourcePaths": ["src"], + + "sourceFiles": [ + "src/app.d" + ], + + "copyFiles-windows": [ + "lib/FreeImage.dll" + ], + + "copyFiles": [ + "res" + ], + + "dependencies": { + "dlangui:dlanguilib": "~master" + } +} +-------------------------------- + +There is sample project which is using DLangUI. + +https://github.com/buggins/dlangide