Class ScriptDialog
public class ScriptDialog
- Inheritance
-
ScriptDialog
- Inherited Members
Methods
Close(ScriptDialogHandle)
Calls native method webkit_script_dialog_close. Version: 2.24
[Version("2.24")]
public static extern void Close(ScriptDialogHandle dialog)
Parameters
dialog
ScriptDialogHandleTransfer ownership: None Nullable: False
ConfirmSetConfirmed(ScriptDialogHandle, bool)
Calls native method webkit_script_dialog_confirm_set_confirmed.
public static extern void ConfirmSetConfirmed(ScriptDialogHandle dialog, bool confirmed)
Parameters
dialog
ScriptDialogHandleTransfer ownership: None Nullable: False
confirmed
boolTransfer ownership: None Nullable: False
GetDialogType(ScriptDialogHandle)
Calls native method webkit_script_dialog_get_dialog_type.
public static extern ScriptDialogType GetDialogType(ScriptDialogHandle dialog)
Parameters
dialog
ScriptDialogHandleTransfer ownership: None Nullable: False
Returns
- ScriptDialogType
Transfer ownership: None Nullable: False
GetGType()
Calls native function webkit_script_dialog_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetMessage(ScriptDialogHandle)
Calls native method webkit_script_dialog_get_message.
public static extern NonNullableUtf8StringUnownedHandle GetMessage(ScriptDialogHandle dialog)
Parameters
dialog
ScriptDialogHandleTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
PromptGetDefaultText(ScriptDialogHandle)
Calls native method webkit_script_dialog_prompt_get_default_text.
public static extern NonNullableUtf8StringUnownedHandle PromptGetDefaultText(ScriptDialogHandle dialog)
Parameters
dialog
ScriptDialogHandleTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
PromptSetText(ScriptDialogHandle, NonNullableUtf8StringHandle)
Calls native method webkit_script_dialog_prompt_set_text.
public static extern void PromptSetText(ScriptDialogHandle dialog, NonNullableUtf8StringHandle text)
Parameters
dialog
ScriptDialogHandleTransfer ownership: None Nullable: False
text
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Ref(ScriptDialogHandle)
Calls native method webkit_script_dialog_ref. Version: 2.24
[Version("2.24")]
public static extern ScriptDialogOwnedHandle Ref(ScriptDialogHandle dialog)
Parameters
dialog
ScriptDialogHandleTransfer ownership: None Nullable: False
Returns
- ScriptDialogOwnedHandle
Transfer ownership: Full Nullable: False
Unref(ScriptDialogHandle)
Calls native method webkit_script_dialog_unref. Version: 2.24
[Version("2.24")]
public static extern void Unref(ScriptDialogHandle dialog)
Parameters
dialog
ScriptDialogHandleTransfer ownership: None Nullable: False