DlangUI

Cross Platform GUI for D programming language

Home API Docs Screenshots Download .zip View on GitHub

dlangui.dialogs.dialog

This module contains common Dialog implementation.

Synopsis:
import dlangui.platforms.common.platform;



License:
Boost License 1.0

Authors:
Vadim Lopatin, coolreader.org@gmail.com

enum DialogFlag: uint;
dialog flag bits

Modal
dialog is modal

Resizable
dialog can be resized

class Dialog: dlangui.widgets.layouts.VerticalLayout;
base for all dialogs

Widget createButtonsPanel(const Action[] actions, int defaultActionIndex, int splitBeforeIndex);
create panel with buttons based on list of actions

void init();
override to implement creation of dialog controls

void show();
shows dialog