webkit.script_dialog

Module for [ScriptDialog] class

Types 1

Carries details to be shown in user-facing dialogs.

Methods
void * _cPtr(Flag!"Dup" dup = No.Dup) nothrow
GType _getGType() static nothrow
GType _gType() @property nothrow
ScriptDialog self() nothrowReturns `this`, for use in `with` statements.
void close() nothrowClose dialog.
void confirmSetConfirmed(bool confirmed) nothrowSet whether the user confirmed the dialog.
webkit.types.ScriptDialogType getDialogType() nothrowGet the dialog type of a #WebKitScriptDialog. Returns: the #WebKitScriptDialogType of dialog
string getMessage() nothrowGet the message of a #WebKitScriptDialog. Returns: the message of dialog.
string promptGetDefaultText() nothrowGet the default text of a #WebKitScriptDialog of type [webkit.types.ScriptDialogType.Prompt].
void promptSetText(string text) nothrowSet the text entered by the user in the dialog.
Constructors
this(void * ptr, Flag!"Take" take)