Dialog

A dialog is a transient window that intends to get information from the user before being dismissed.

Constructors

this
this(Window parent, int width, int height, string title)
this
this(Window parent, string title, int width, int height)

Members

Functions

Cancel
void Cancel()
OK
void OK()

Inherited Members

From Window

messageBox
MessageBoxButton messageBox(string title, string message, MessageBoxStyle style, MessageBoxIcon icon)
int messageBox(string message, MessageBoxStyle style, MessageBoxIcon icon)
icon
MemoryImage icon [@property setter]

Sets the window icon which is often seen in title bars and taskbars.

focused
bool focused [@property getter]
lineHeight
deprecated int lineHeight()

Gives the height of a line according to the default font. You should try to use your computed font instead of this, but until May 8, 2021, this was the only real option.

win
SimpleWindow win [@property getter]

Provides access to the underlying SimpleWindow. Note that changing properties on this window may disconnect minigui's event dispatchers.

win
SimpleWindow win [@property setter]
title
string title [@property getter]
title
string title [@property setter]
close
void close()
loop
void loop(BlockingMode bm)

Shows the window and runs the application event loop.

Meta