confirm_set_confirmed


Description:

public void confirm_set_confirmed (bool confirmed)

Set whether the user confirmed the dialog.

This method is used for webkit_script_dialog_confirm and webkit_script_dialog_before_unload_confirm dialogs when script_dialog signal is emitted to set whether the user confirmed the dialog or not. The default implementation of 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 ScriptDialog that is not of type webkit_script_dialog_confirm or webkit_script_dialog_before_unload_confirm

Parameters:

this

a ScriptDialog

confirmed

whether user confirmed the dialog




2022 vala-language.org