dlangui

This module is just to simplify import of most useful DLANGUI modules.

Synopsis:

// helloworld
import dlangui;
// required in one of modules
mixin APP_ENTRY_POINT;

/// entry point for dlangui based application
extern (C) int UIAppMain(string[] args) {
    // resource directory search paths
    string[] resourceDirs = [
        appendPath(exePath, "../../../res/"),   // for Visual D and DUB builds
        appendPath(exePath, "../../../../res/"), // for Mono-D builds
        appendPath(exePath, "res/") // when res dir is located at the same directory as executable
    ];

    // setup resource directories - will use only existing directories
    Platform.instance.resourceDirs = resourceDirs;
    // select translation file - for english language
    Platform.instance.uiLanguage = "en";
    // load theme from file "theme_default.xml"
    Platform.instance.uiTheme = "theme_default";

    // create window
    Window window = Platform.instance.createWindow("My Window", null);
    // create some widget to show in window
    window.mainWidget = (new Button()).text("Hello world"d);
    // show window
    window.show();
    // run message loop
    return Platform.instance.enterMessageLoop();
}

Modules

core
module dlangui.core
dialogs
module dlangui.dialogs
dml
module dlangui.dml
graphics
module dlangui.graphics
platforms
module dlangui.platforms
widgets
module dlangui.widgets

Public Imports

dlangui.core.config
public import dlangui.core.config;
Undocumented in source.
dlangui.core.logger
public import dlangui.core.logger;
Undocumented in source.
dlangui.core.types
public import dlangui.core.types;
Undocumented in source.
dlangui.core.i18n
public import dlangui.core.i18n;
Undocumented in source.
dlangui.core.files
public import dlangui.core.files;
Undocumented in source.
dlangui.core.stdaction
public import dlangui.core.stdaction;
Undocumented in source.
dlangui.graphics.images
public import dlangui.graphics.images;
Undocumented in source.
dlangui.graphics.colors
public import dlangui.graphics.colors;
Undocumented in source.
dlangui.graphics.fonts
public import dlangui.graphics.fonts;
Undocumented in source.
dlangui.graphics.drawbuf
public import dlangui.graphics.drawbuf;
Undocumented in source.
dlangui.widgets.widget
public import dlangui.widgets.widget;
Undocumented in source.
dlangui.widgets.controls
public import dlangui.widgets.controls;
Undocumented in source.
dlangui.widgets.scrollbar
public import dlangui.widgets.scrollbar;
Undocumented in source.
dlangui.widgets.progressbar
public import dlangui.widgets.progressbar;
Undocumented in source.
dlangui.widgets.layouts
public import dlangui.widgets.layouts;
Undocumented in source.
dlangui.widgets.groupbox
public import dlangui.widgets.groupbox;
Undocumented in source.
dlangui.widgets.lists
public import dlangui.widgets.lists;
Undocumented in source.
dlangui.widgets.tabs
public import dlangui.widgets.tabs;
Undocumented in source.
dlangui.widgets.menu
public import dlangui.widgets.menu;
Undocumented in source.
dlangui.widgets.scroll
public import dlangui.widgets.scroll;
Undocumented in source.
dlangui.widgets.editors
public import dlangui.widgets.editors;
Undocumented in source.
dlangui.widgets.srcedit
public import dlangui.widgets.srcedit;
Undocumented in source.
dlangui.widgets.grid
public import dlangui.widgets.grid;
Undocumented in source.
dlangui.widgets.tree
public import dlangui.widgets.tree;
Undocumented in source.
dlangui.widgets.combobox
public import dlangui.widgets.combobox;
Undocumented in source.
dlangui.widgets.popup
public import dlangui.widgets.popup;
Undocumented in source.
dlangui.widgets.appframe
public import dlangui.widgets.appframe;
Undocumented in source.
dlangui.widgets.statusline
public import dlangui.widgets.statusline;
Undocumented in source.
dlangui.widgets.docks
public import dlangui.widgets.docks;
Undocumented in source.
dlangui.widgets.toolbars
public import dlangui.widgets.toolbars;
Undocumented in source.
dlangui.platforms.common.platform
public import dlangui.platforms.common.platform;
Undocumented in source.
dlangui.dml.parser
public import dlangui.dml.parser;
Undocumented in source.

Members

Imports

equal (from std.algorithm)
public import std.algorithm : equal;
Undocumented in source.
to (from std.conv)
public import std.conv : to;
Undocumented in source.
toUTF32 (from std.utf)
public import std.utf : toUTF32;
Undocumented in source.

Meta

License

Boost License 1.0

Authors

Vadim Lopatin, coolreader.org@gmail.com