Sets our main struct and passes it to the parent class.
Close @dialog. When handling a #WebKitScriptDialog asynchronously (webkit_script_dialog_ref() was called in #WebKitWebView::script-dialog callback), this function needs to be called to notify that we are done with the script dialog. The dialog will be closed on destruction if this function hasn't been called before.
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
Get the dialog type of a #WebKitScriptDialog.
Get the message of a #WebKitScriptDialog.
Get the main Gtk struct
the main Gtk struct as a void*
Get the default text of a #WebKitScriptDialog of type %WEBKIT_SCRIPT_DIALOG_PROMPT. It's an error to use this method with a #WebKitScriptDialog that is not of type %WEBKIT_SCRIPT_DIALOG_PROMPT.
This method is used for %WEBKIT_SCRIPT_DIALOG_PROMPT dialogs when #WebKitWebView::script-dialog signal is emitted to set the text entered by the user. The default implementation of #WebKitWebView::script-dialog signal sets the text of the entry form when OK button is clicked, otherwise %NULL is set. It's an error to use this method with a #WebKitScriptDialog that is not of type %WEBKIT_SCRIPT_DIALOG_PROMPT.
Atomically increments the reference count of @dialog by one. This function is MT-safe and may be called from any thread.
Atomically decrements the reference count of @dialog by one. If the reference count drops to 0, all memory allocated by the #WebKitScriptdialog is released. This function is MT-safe and may be called from any thread.
the main Gtk struct