ScriptDialog.confirmSetConfirmed

This method is used for %WEBKIT_SCRIPT_DIALOG_CONFIRM and %WEBKIT_SCRIPT_DIALOG_BEFORE_UNLOAD_CONFIRM 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_SCRIPT_DIALOG_CONFIRM or %WEBKIT_SCRIPT_DIALOG_BEFORE_UNLOAD_CONFIRM

class ScriptDialog
void
confirmSetConfirmed
()

Parameters

confirmed bool

whether user confirmed the dialog

Meta