webkit.script_dialog
Module for [ScriptDialog] class
class ScriptDialog
Types 1
classScriptDialog : gobject.boxed.Boxed
Carries details to be shown in user-facing dialogs.
Methods
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 dialogstring 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.