prompt_set_text


Description:

public void prompt_set_text (string text)

Set the text entered by the user in the dialog.

This method is used for webkit_script_dialog_prompt dialogs when script_dialog signal is emitted to set the text entered by the user. The default implementation of 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 ScriptDialog that is not of type webkit_script_dialog_prompt.

Parameters:

this

a ScriptDialog

text

the text to set