ProgressDialog

The ProgressDialog class

Constructors

this
this(string title, string message)

Sets up the progress dialog with the desired title, and message. Does not show it until the show method is called.

Members

Functions

close
void close()

Close the dialog.

onError
void onError(void delegate(Throwable err) cb)

This method is called if there is an error when showing the progress dialog.

setPercent
void setPercent(int percent)

Set the percent of the progess bar. Will close on 100.

show
void show(void delegate() cb)

Shows the progress dialog. Will run the callback in a thread and block until it is closed or percent reaches 100.

Meta