ScriptDialog.confirmSetConfirmed

Set whether the user confirmed the dialog.

This method is used for webkit.types.ScriptDialogType.Confirm and webkit.types.ScriptDialogType.BeforeUnloadConfirm dialogs when #WebKitWebView::script-dialog signal is emitted to set whether the user confirmed the dialog or not. The default implementation of #WebKitWebView::script-dialog signal sets true when the OK or Stay buttons are clicked and false otherwise. It's an error to use this method with a #WebKitScriptDialog that is not of type webkit.types.ScriptDialogType.Confirm or webkit.types.ScriptDialogType.BeforeUnloadConfirm

class ScriptDialog
void
confirmSetConfirmed
()

Parameters

confirmed bool

whether user confirmed the dialog