Table of Contents

Class AlertDialog

Namespace
Gtk.Internal
Assembly
Gtk-4.0.dll
public class AlertDialog
Inheritance
AlertDialog
Inherited Members

Methods

Choose(IntPtr, IntPtr, IntPtr, AsyncReadyCallback, IntPtr)

Calls native method gtk_alert_dialog_choose. Version: 4.10

[Version("4.10")]
public static extern void Choose(IntPtr self, IntPtr parent, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

parent IntPtr

Transfer ownership: None Nullable: True

cancellable IntPtr

Transfer ownership: None Nullable: True

callback AsyncReadyCallback

Transfer ownership: None Nullable: True

userData IntPtr

Transfer ownership: None Nullable: True

ChooseFinish(IntPtr, IntPtr, out ErrorOwnedHandle)

Calls native method gtk_alert_dialog_choose_finish. Version: 4.10

[Version("4.10")]
public static extern int ChooseFinish(IntPtr self, IntPtr result, out ErrorOwnedHandle error)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

result IntPtr

Transfer ownership: None Nullable: False

error ErrorOwnedHandle

Returns

int

Transfer ownership: None Nullable: False

GetButtons(IntPtr)

Calls native method gtk_alert_dialog_get_buttons. Version: 4.10

[Version("4.10")]
public static extern Utf8StringArrayNullTerminatedUnownedHandle GetButtons(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

Utf8StringArrayNullTerminatedUnownedHandle

Transfer ownership: None Nullable: True

GetCancelButton(IntPtr)

Calls native method gtk_alert_dialog_get_cancel_button. Version: 4.10

[Version("4.10")]
public static extern int GetCancelButton(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetDefaultButton(IntPtr)

Calls native method gtk_alert_dialog_get_default_button. Version: 4.10

[Version("4.10")]
public static extern int GetDefaultButton(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetDetail(IntPtr)

Calls native method gtk_alert_dialog_get_detail. Version: 4.10

[Version("4.10")]
public static extern NonNullableUtf8StringUnownedHandle GetDetail(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

GetGType()

Calls native function gtk_alert_dialog_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetMessage(IntPtr)

Calls native method gtk_alert_dialog_get_message. Version: 4.10

[Version("4.10")]
public static extern NonNullableUtf8StringUnownedHandle GetMessage(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

GetModal(IntPtr)

Calls native method gtk_alert_dialog_get_modal. Version: 4.10

[Version("4.10")]
public static extern bool GetModal(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

SetButtons(IntPtr, Utf8StringArrayNullTerminatedHandle)

Calls native method gtk_alert_dialog_set_buttons. Version: 4.10

[Version("4.10")]
public static extern void SetButtons(IntPtr self, Utf8StringArrayNullTerminatedHandle labels)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

labels Utf8StringArrayNullTerminatedHandle

Transfer ownership: None Nullable: False

SetCancelButton(IntPtr, int)

Calls native method gtk_alert_dialog_set_cancel_button. Version: 4.10

[Version("4.10")]
public static extern void SetCancelButton(IntPtr self, int button)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

button int

Transfer ownership: None Nullable: False

SetDefaultButton(IntPtr, int)

Calls native method gtk_alert_dialog_set_default_button. Version: 4.10

[Version("4.10")]
public static extern void SetDefaultButton(IntPtr self, int button)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

button int

Transfer ownership: None Nullable: False

SetDetail(IntPtr, NonNullableUtf8StringHandle)

Calls native method gtk_alert_dialog_set_detail. Version: 4.10

[Version("4.10")]
public static extern void SetDetail(IntPtr self, NonNullableUtf8StringHandle detail)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

detail NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

SetMessage(IntPtr, NonNullableUtf8StringHandle)

Calls native method gtk_alert_dialog_set_message. Version: 4.10

[Version("4.10")]
public static extern void SetMessage(IntPtr self, NonNullableUtf8StringHandle message)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

message NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

SetModal(IntPtr, bool)

Calls native method gtk_alert_dialog_set_modal. Version: 4.10

[Version("4.10")]
public static extern void SetModal(IntPtr self, bool modal)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

modal bool

Transfer ownership: None Nullable: False

Show(IntPtr, IntPtr)

Calls native method gtk_alert_dialog_show. Version: 4.10

[Version("4.10")]
public static extern void Show(IntPtr self, IntPtr parent)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

parent IntPtr

Transfer ownership: None Nullable: True