Class AlertDialog
public class AlertDialog
- Inheritance
-
AlertDialog
- Inherited Members
Methods
AddResponse(IntPtr, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)
Calls native method adw_alert_dialog_add_response. Version: 1.5
[Version("1.5")]
public static extern void AddResponse(IntPtr self, NonNullableUtf8StringHandle id, NonNullableUtf8StringHandle label)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
id
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
label
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Choose(IntPtr, IntPtr, IntPtr, AsyncReadyCallback, IntPtr)
Calls native method adw_alert_dialog_choose. Version: 1.5
[Version("1.5")]
public static extern void Choose(IntPtr self, IntPtr parent, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
parent
IntPtrTransfer ownership: None Nullable: True
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
ChooseFinish(IntPtr, IntPtr)
Calls native method adw_alert_dialog_choose_finish. Version: 1.5
[Version("1.5")]
public static extern NonNullableUtf8StringUnownedHandle ChooseFinish(IntPtr self, IntPtr result)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
result
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
GetBody(IntPtr)
Calls native method adw_alert_dialog_get_body. Version: 1.5
[Version("1.5")]
public static extern NonNullableUtf8StringUnownedHandle GetBody(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
GetBodyUseMarkup(IntPtr)
Calls native method adw_alert_dialog_get_body_use_markup. Version: 1.5
[Version("1.5")]
public static extern bool GetBodyUseMarkup(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetCloseResponse(IntPtr)
Calls native method adw_alert_dialog_get_close_response. Version: 1.5
[Version("1.5")]
public static extern NonNullableUtf8StringUnownedHandle GetCloseResponse(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
GetDefaultResponse(IntPtr)
Calls native method adw_alert_dialog_get_default_response. Version: 1.5
[Version("1.5")]
public static extern NullableUtf8StringUnownedHandle GetDefaultResponse(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: True
GetExtraChild(IntPtr)
Calls native method adw_alert_dialog_get_extra_child. Version: 1.5
[Version("1.5")]
public static extern IntPtr GetExtraChild(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
GetGType()
Calls native function adw_alert_dialog_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetHeading(IntPtr)
Calls native method adw_alert_dialog_get_heading. Version: 1.5
[Version("1.5")]
public static extern NullableUtf8StringUnownedHandle GetHeading(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: True
GetHeadingUseMarkup(IntPtr)
Calls native method adw_alert_dialog_get_heading_use_markup. Version: 1.5
[Version("1.5")]
public static extern bool GetHeadingUseMarkup(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetResponseAppearance(IntPtr, NonNullableUtf8StringHandle)
Calls native method adw_alert_dialog_get_response_appearance. Version: 1.5
[Version("1.5")]
public static extern ResponseAppearance GetResponseAppearance(IntPtr self, NonNullableUtf8StringHandle response)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
response
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- ResponseAppearance
Transfer ownership: None Nullable: False
GetResponseEnabled(IntPtr, NonNullableUtf8StringHandle)
Calls native method adw_alert_dialog_get_response_enabled. Version: 1.5
[Version("1.5")]
public static extern bool GetResponseEnabled(IntPtr self, NonNullableUtf8StringHandle response)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
response
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetResponseLabel(IntPtr, NonNullableUtf8StringHandle)
Calls native method adw_alert_dialog_get_response_label. Version: 1.5
[Version("1.5")]
public static extern NonNullableUtf8StringUnownedHandle GetResponseLabel(IntPtr self, NonNullableUtf8StringHandle response)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
response
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
HasResponse(IntPtr, NonNullableUtf8StringHandle)
Calls native method adw_alert_dialog_has_response. Version: 1.5
[Version("1.5")]
public static extern bool HasResponse(IntPtr self, NonNullableUtf8StringHandle response)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
response
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
New(NullableUtf8StringHandle, NullableUtf8StringHandle)
Calls native constructor adw_alert_dialog_new. Version: 1.5
[Version("1.5")]
public static extern IntPtr New(NullableUtf8StringHandle heading, NullableUtf8StringHandle body)
Parameters
heading
NullableUtf8StringHandleTransfer ownership: None Nullable: True
body
NullableUtf8StringHandleTransfer ownership: None Nullable: True
Returns
- IntPtr
Transfer ownership: None Nullable: False
RemoveResponse(IntPtr, NonNullableUtf8StringHandle)
Calls native method adw_alert_dialog_remove_response. Version: 1.5
[Version("1.5")]
public static extern void RemoveResponse(IntPtr self, NonNullableUtf8StringHandle id)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
id
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
SetBody(IntPtr, NonNullableUtf8StringHandle)
Calls native method adw_alert_dialog_set_body. Version: 1.5
[Version("1.5")]
public static extern void SetBody(IntPtr self, NonNullableUtf8StringHandle body)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
body
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
SetBodyUseMarkup(IntPtr, bool)
Calls native method adw_alert_dialog_set_body_use_markup. Version: 1.5
[Version("1.5")]
public static extern void SetBodyUseMarkup(IntPtr self, bool useMarkup)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
useMarkup
boolTransfer ownership: None Nullable: False
SetCloseResponse(IntPtr, NonNullableUtf8StringHandle)
Calls native method adw_alert_dialog_set_close_response. Version: 1.5
[Version("1.5")]
public static extern void SetCloseResponse(IntPtr self, NonNullableUtf8StringHandle response)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
response
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
SetDefaultResponse(IntPtr, NullableUtf8StringHandle)
Calls native method adw_alert_dialog_set_default_response. Version: 1.5
[Version("1.5")]
public static extern void SetDefaultResponse(IntPtr self, NullableUtf8StringHandle response)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
response
NullableUtf8StringHandleTransfer ownership: None Nullable: True
SetExtraChild(IntPtr, IntPtr)
Calls native method adw_alert_dialog_set_extra_child. Version: 1.5
[Version("1.5")]
public static extern void SetExtraChild(IntPtr self, IntPtr child)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
child
IntPtrTransfer ownership: None Nullable: True
SetHeading(IntPtr, NullableUtf8StringHandle)
Calls native method adw_alert_dialog_set_heading. Version: 1.5
[Version("1.5")]
public static extern void SetHeading(IntPtr self, NullableUtf8StringHandle heading)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
heading
NullableUtf8StringHandleTransfer ownership: None Nullable: True
SetHeadingUseMarkup(IntPtr, bool)
Calls native method adw_alert_dialog_set_heading_use_markup. Version: 1.5
[Version("1.5")]
public static extern void SetHeadingUseMarkup(IntPtr self, bool useMarkup)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
useMarkup
boolTransfer ownership: None Nullable: False
SetResponseAppearance(IntPtr, NonNullableUtf8StringHandle, ResponseAppearance)
Calls native method adw_alert_dialog_set_response_appearance. Version: 1.5
[Version("1.5")]
public static extern void SetResponseAppearance(IntPtr self, NonNullableUtf8StringHandle response, ResponseAppearance appearance)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
response
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
appearance
ResponseAppearanceTransfer ownership: None Nullable: False
SetResponseEnabled(IntPtr, NonNullableUtf8StringHandle, bool)
Calls native method adw_alert_dialog_set_response_enabled. Version: 1.5
[Version("1.5")]
public static extern void SetResponseEnabled(IntPtr self, NonNullableUtf8StringHandle response, bool enabled)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
response
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
enabled
boolTransfer ownership: None Nullable: False
SetResponseLabel(IntPtr, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)
Calls native method adw_alert_dialog_set_response_label. Version: 1.5
[Version("1.5")]
public static extern void SetResponseLabel(IntPtr self, NonNullableUtf8StringHandle response, NonNullableUtf8StringHandle label)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
response
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
label
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False