Table of Contents

Class MessageDialog

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class MessageDialog : Dialog, IObject, INotifyPropertyChanged, IDisposable, Accessible, Buildable, ConstraintTarget, Native, Root, ShortcutManager, IHandle, GTypeProvider
Inheritance
MessageDialog
Implements
Inherited Members

Constructors

MessageDialog()

public MessageDialog()

MessageDialog(params ConstructArgument[])

protected MessageDialog(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

MessageDialog(IntPtr, bool)

protected MessageDialog(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

MessageAreaPropertyDefinition

public static readonly Property<Widget?, MessageDialog> MessageAreaPropertyDefinition

Field Value

Property<Widget, MessageDialog>

MessageTypePropertyDefinition

public static readonly Property<MessageType, MessageDialog> MessageTypePropertyDefinition

Field Value

Property<MessageType, MessageDialog>

SecondaryTextPropertyDefinition

public static readonly Property<string?, MessageDialog> SecondaryTextPropertyDefinition

Field Value

Property<string, MessageDialog>

SecondaryUseMarkupPropertyDefinition

public static readonly Property<bool, MessageDialog> SecondaryUseMarkupPropertyDefinition

Field Value

Property<bool, MessageDialog>

TextPropertyDefinition

public static readonly Property<string?, MessageDialog> TextPropertyDefinition

Field Value

Property<string, MessageDialog>

UseMarkupPropertyDefinition

public static readonly Property<bool, MessageDialog> UseMarkupPropertyDefinition

Field Value

Property<bool, MessageDialog>

Properties

AccessibleRole

public AccessibleRole AccessibleRole { get; set; }

Property Value

AccessibleRole

MessageArea

public Widget? MessageArea { get; }

Property Value

Widget

MessageType

public MessageType MessageType { get; set; }

Property Value

MessageType

SecondaryText

public string? SecondaryText { get; set; }

Property Value

string

SecondaryUseMarkup

public bool SecondaryUseMarkup { get; set; }

Property Value

bool

Text

public string? Text { get; set; }

Property Value

string

UseMarkup

public bool UseMarkup { get; set; }

Property Value

bool

Methods

Announce(string, AccessibleAnnouncementPriority)

[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)

Parameters

message string
priority AccessibleAnnouncementPriority

GetAccessibleParent()

[Version("4.10")]
public Accessible? GetAccessibleParent()

Returns

Accessible

GetAccessibleRole()

public AccessibleRole GetAccessibleRole()

Returns

AccessibleRole

GetAtContext()

[Version("4.10")]
public ATContext GetAtContext()

Returns

ATContext

GetBounds(out int, out int, out int, out int)

[Version("4.10")]
public bool GetBounds(out int x, out int y, out int width, out int height)

Parameters

x int
y int
width int
height int

Returns

bool

GetBuildableId()

public string? GetBuildableId()

Returns

string

GetDisplay()

public Display GetDisplay()

Returns

Display

GetFirstAccessibleChild()

[Version("4.10")]
public Accessible? GetFirstAccessibleChild()

Returns

Accessible

GetGType()

public static Type GetGType()

Returns

Type

GetMessageArea()

public Widget GetMessageArea()

Returns

Widget

GetNextAccessibleSibling()

[Version("4.10")]
public Accessible? GetNextAccessibleSibling()

Returns

Accessible

GetPlatformState(AccessiblePlatformState)

[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)

Parameters

state AccessiblePlatformState

Returns

bool

GetRenderer()

public Renderer? GetRenderer()

Returns

Renderer

GetSurface()

public Surface? GetSurface()

Returns

Surface

GetSurfaceTransform(out double, out double)

public void GetSurfaceTransform(out double x, out double y)

Parameters

x double
y double

Realize()

public void Realize()

ResetProperty(AccessibleProperty)

public void ResetProperty(AccessibleProperty property)

Parameters

property AccessibleProperty

ResetRelation(AccessibleRelation)

public void ResetRelation(AccessibleRelation relation)

Parameters

relation AccessibleRelation

ResetState(AccessibleState)

public void ResetState(AccessibleState state)

Parameters

state AccessibleState

SetAccessibleParent(Accessible?, Accessible?)

[Version("4.10")]
public void SetAccessibleParent(Accessible? parent, Accessible? nextSibling)

Parameters

parent Accessible
nextSibling Accessible

SetMarkup(string)

public void SetMarkup(string str)

Parameters

str string

Unrealize()

public void Unrealize()

UpdateNextAccessibleSibling(Accessible?)

[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)

Parameters

newSibling Accessible