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)
GType _gType() @property
ScriptDialog self()Returns `this`, for use in `with` statements.
void close()Close dialog.
void confirmSetConfirmed(bool confirmed)Set whether the user confirmed the dialog.
webkit.types.ScriptDialogType getDialogType()Get the dialog type of a #WebKitScriptDialog. Returns: the #WebKitScriptDialogType of dialog
string getMessage()Get the message of a #WebKitScriptDialog. Returns: the message of dialog.
string promptGetDefaultText()Get the default text of a #WebKitScriptDialog of type [webkit.types.ScriptDialogType.Prompt].
void promptSetText(string text)Set the text entered by the user in the dialog.
Constructors
this(void * ptr, Flag!"Take" take)