ScriptDialog
Object Hierarchy:
Description:
[ CCode ( ref_function = "webkit_script_dialog_ref" , type_id = "webkit_script_dialog_get_type ()" , unref_function = "webkit_script_dialog_unref" ) ]
[ Compact ]
public class ScriptDialog
Carries details to be shown in user-facing dialogs.
Content:
Methods:
- public unowned ScriptDialog @ref ()
Atomically increments the reference count of
this by one.
- public void close ()
Close this.
- public void confirm_set_confirmed (bool confirmed)
Set whether the user confirmed the dialog.
- public ScriptDialogType get_dialog_type ()
Get the dialog type of a ScriptDialog.
- public unowned string get_message ()
Get the message of a ScriptDialog.
- public unowned string prompt_get_default_text ()
Get the default text of a ScriptDialog of
type webkit_script_dialog_prompt.
- public void prompt_set_text (string text)
Set the text entered by the user in the dialog.
- public void unref ()
Atomically decrements the reference count of
this by one.