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
Fields
MessageAreaPropertyDefinition
public static readonly Property<Widget?, MessageDialog> MessageAreaPropertyDefinition
Field Value
MessageTypePropertyDefinition
public static readonly Property<MessageType, MessageDialog> MessageTypePropertyDefinition
Field Value
SecondaryTextPropertyDefinition
public static readonly Property<string?, MessageDialog> SecondaryTextPropertyDefinition
Field Value
SecondaryUseMarkupPropertyDefinition
public static readonly Property<bool, MessageDialog> SecondaryUseMarkupPropertyDefinition
Field Value
TextPropertyDefinition
public static readonly Property<string?, MessageDialog> TextPropertyDefinition
Field Value
UseMarkupPropertyDefinition
public static readonly Property<bool, MessageDialog> UseMarkupPropertyDefinition
Field Value
Properties
AccessibleRole
public AccessibleRole AccessibleRole { get; set; }
Property Value
MessageArea
public Widget? MessageArea { get; }
Property Value
MessageType
public MessageType MessageType { get; set; }
Property Value
SecondaryText
public string? SecondaryText { get; set; }
Property Value
SecondaryUseMarkup
public bool SecondaryUseMarkup { get; set; }
Property Value
Text
public string? Text { get; set; }
Property Value
UseMarkup
public bool UseMarkup { get; set; }
Property Value
Methods
Announce(string, AccessibleAnnouncementPriority)
[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)
Parameters
message
stringpriority
AccessibleAnnouncementPriority
GetAccessibleParent()
[Version("4.10")]
public Accessible? GetAccessibleParent()
Returns
GetAccessibleRole()
public AccessibleRole GetAccessibleRole()
Returns
GetAtContext()
[Version("4.10")]
public ATContext GetAtContext()
Returns
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
Returns
GetBuildableId()
public string? GetBuildableId()
Returns
GetDisplay()
public Display GetDisplay()
Returns
GetFirstAccessibleChild()
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()
Returns
GetGType()
public static Type GetGType()
Returns
GetMessageArea()
public Widget GetMessageArea()
Returns
GetNextAccessibleSibling()
[Version("4.10")]
public Accessible? GetNextAccessibleSibling()
Returns
GetPlatformState(AccessiblePlatformState)
[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)
Parameters
state
AccessiblePlatformState
Returns
GetRenderer()
public Renderer? GetRenderer()
Returns
GetSurface()
public Surface? GetSurface()
Returns
GetSurfaceTransform(out double, out double)
public void GetSurfaceTransform(out double x, out double y)
Parameters
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
AccessiblenextSibling
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