mirror of https://github.com/buggins/dlangui.git
update documentation
This commit is contained in:
parent
1d5b26ccdc
commit
a0c892586d
34
README.md
34
README.md
|
@ -44,6 +44,7 @@ Currently implemented widgets:
|
||||||
* GridWidgetBase - abstract Grid widget
|
* GridWidgetBase - abstract Grid widget
|
||||||
* StringGrid - grid view with strings content
|
* StringGrid - grid view with strings content
|
||||||
* TreeWidget - tree view
|
* TreeWidget - tree view
|
||||||
|
* ComboBox - combo box with text items
|
||||||
|
|
||||||
Layouts
|
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
|
Sample project
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
|
|
42
src/index.d
42
src/index.d
|
@ -42,6 +42,10 @@ Ddoc
|
||||||
<li>TabControl - tabs widget, allows to select one of tabs</li>
|
<li>TabControl - tabs widget, allows to select one of tabs</li>
|
||||||
<li>TabHost - container for pages controlled by TabControl</li>
|
<li>TabHost - container for pages controlled by TabControl</li>
|
||||||
<li>TabWidget - combination of TabControl and TabHost</li>
|
<li>TabWidget - combination of TabControl and TabHost</li>
|
||||||
|
<li>GridWidgetBase - abstract Grid widget</li>
|
||||||
|
<li>StringGrid - grid view with strings content</li>
|
||||||
|
<li>TreeWidget - tree view</li>
|
||||||
|
<li>ComboBox - combo box with text items</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h2><a name="layouts" class="anchor" href="#layouts"><span class="octicon octicon-link"></span></a>Layouts</h2>
|
<h2><a name="layouts" class="anchor" href="#layouts"><span class="octicon octicon-link"></span></a>Layouts</h2>
|
||||||
|
@ -199,6 +203,8 @@ standard values are used.</li>
|
||||||
</ul><h2>
|
</ul><h2>
|
||||||
<a name="hello-world" class="anchor" href="#hello-world"><span class="octicon octicon-link"></span></a>Hello World</h2>
|
<a name="hello-world" class="anchor" href="#hello-world"><span class="octicon octicon-link"></span></a>Hello World</h2>
|
||||||
|
|
||||||
|
Sample code:
|
||||||
|
|
||||||
------------------------------------------
|
------------------------------------------
|
||||||
// main.d
|
// main.d
|
||||||
import dlangui.all;
|
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.
|
||||||
|
|
||||||
|
<a href="https://github.com/buggins/dlangide">https://github.com/buggins/dlangide</a>
|
||||||
|
|
Loading…
Reference in New Issue