Class Dialog
- Namespace
 - Adw
 
- Assembly
 - Adw-1.dll
 
public class Dialog : Widget, Accessible, Buildable, ConstraintTarget, IDisposable, GTypeProvider, InstanceFactory
  - Inheritance
 - 
      
      
      
      
      Dialog
 
- Implements
 
- Derived
 
- Inherited Members
 
Constructors
Dialog(DialogHandle)
public Dialog(DialogHandle handle)
  Parameters
handleDialogHandle
Dialog(params ConstructArgument[])
public Dialog(params ConstructArgument[] constructArguments)
  Parameters
constructArgumentsConstructArgument[]
Fields
CanClosePropertyDefinition
public static readonly Property<bool, Dialog> CanClosePropertyDefinition
  Field Value
ChildPropertyDefinition
public static readonly Property<Widget?, Dialog> ChildPropertyDefinition
  Field Value
CloseAttemptSignal
Signal Descriptor for OnCloseAttempt.
public static readonly Signal<Dialog> CloseAttemptSignal
  Field Value
ClosedSignal
Signal Descriptor for OnClosed.
public static readonly Signal<Dialog> ClosedSignal
  Field Value
ContentHeightPropertyDefinition
public static readonly Property<int, Dialog> ContentHeightPropertyDefinition
  Field Value
ContentWidthPropertyDefinition
public static readonly Property<int, Dialog> ContentWidthPropertyDefinition
  Field Value
CurrentBreakpointPropertyDefinition
public static readonly Property<Breakpoint?, Dialog> CurrentBreakpointPropertyDefinition
  Field Value
DefaultWidgetPropertyDefinition
public static readonly Property<Widget?, Dialog> DefaultWidgetPropertyDefinition
  Field Value
FocusWidgetPropertyDefinition
public static readonly Property<Widget?, Dialog> FocusWidgetPropertyDefinition
  Field Value
FollowsContentSizePropertyDefinition
public static readonly Property<bool, Dialog> FollowsContentSizePropertyDefinition
  Field Value
PresentationModePropertyDefinition
public static readonly Property<DialogPresentationMode, Dialog> PresentationModePropertyDefinition
  Field Value
TitlePropertyDefinition
public static readonly Property<string?, Dialog> TitlePropertyDefinition
  Field Value
Properties
AccessibleRole
public AccessibleRole AccessibleRole { get; set; }
  Property Value
CanClose
public bool CanClose { get; set; }
  Property Value
Child
public Widget? Child { get; set; }
  Property Value
ContentHeight
public int ContentHeight { get; set; }
  Property Value
ContentWidth
public int ContentWidth { get; set; }
  Property Value
CurrentBreakpoint
public Breakpoint? CurrentBreakpoint { get; }
  Property Value
DefaultWidget
public Widget? DefaultWidget { get; set; }
  Property Value
FocusWidget
public Widget? FocusWidget { get; set; }
  Property Value
FollowsContentSize
public bool FollowsContentSize { get; set; }
  Property Value
PresentationMode
public DialogPresentationMode PresentationMode { get; set; }
  Property Value
Title
public string? Title { get; set; }
  Property Value
Methods
AddBreakpoint(Breakpoint)
[Version("1.5")]
public void AddBreakpoint(Breakpoint breakpoint)
  Parameters
breakpointBreakpoint
Announce(string, AccessibleAnnouncementPriority)
[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)
  Parameters
messagestringpriorityAccessibleAnnouncementPriority
Close()
[Version("1.5")]
public bool Close()
  Returns
ForceClose()
[Version("1.5")]
public void ForceClose()
  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
GetCanClose()
[Version("1.5")]
public bool GetCanClose()
  Returns
GetChild()
[Version("1.5")]
public Widget? GetChild()
  Returns
GetContentHeight()
[Version("1.5")]
public int GetContentHeight()
  Returns
GetContentWidth()
[Version("1.5")]
public int GetContentWidth()
  Returns
GetCurrentBreakpoint()
[Version("1.5")]
public Breakpoint? GetCurrentBreakpoint()
  Returns
GetDefaultWidget()
[Version("1.5")]
public Widget? GetDefaultWidget()
  Returns
GetFirstAccessibleChild()
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()
  Returns
GetFocus()
[Version("1.5")]
public Widget? GetFocus()
  Returns
GetFollowsContentSize()
[Version("1.5")]
public bool GetFollowsContentSize()
  Returns
GetGType()
public static Type GetGType()
  Returns
GetNextAccessibleSibling()
[Version("4.10")]
public Accessible? GetNextAccessibleSibling()
  Returns
GetPlatformState(AccessiblePlatformState)
[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)
  Parameters
stateAccessiblePlatformState
Returns
GetPresentationMode()
[Version("1.5")]
public DialogPresentationMode GetPresentationMode()
  Returns
GetTitle()
[Version("1.5")]
public string GetTitle()
  Returns
New()
[Version("1.5")]
public static Dialog New()
  Returns
Present(Widget?)
[Version("1.5")]
public void Present(Widget? parent)
  Parameters
parentWidget
ResetProperty(AccessibleProperty)
public void ResetProperty(AccessibleProperty property)
  Parameters
propertyAccessibleProperty
ResetRelation(AccessibleRelation)
public void ResetRelation(AccessibleRelation relation)
  Parameters
relationAccessibleRelation
ResetState(AccessibleState)
public void ResetState(AccessibleState state)
  Parameters
stateAccessibleState
SetAccessibleParent(Accessible?, Accessible?)
[Version("4.10")]
public void SetAccessibleParent(Accessible? parent, Accessible? nextSibling)
  Parameters
parentAccessiblenextSiblingAccessible
SetCanClose(bool)
[Version("1.5")]
public void SetCanClose(bool canClose)
  Parameters
canClosebool
SetChild(Widget?)
[Version("1.5")]
public void SetChild(Widget? child)
  Parameters
childWidget
SetContentHeight(int)
[Version("1.5")]
public void SetContentHeight(int contentHeight)
  Parameters
contentHeightint
SetContentWidth(int)
[Version("1.5")]
public void SetContentWidth(int contentWidth)
  Parameters
contentWidthint
SetDefaultWidget(Widget?)
[Version("1.5")]
public void SetDefaultWidget(Widget? defaultWidget)
  Parameters
defaultWidgetWidget
SetFocus(Widget?)
[Version("1.5")]
public void SetFocus(Widget? focus)
  Parameters
focusWidget
SetFollowsContentSize(bool)
[Version("1.5")]
public void SetFollowsContentSize(bool followsContentSize)
  Parameters
followsContentSizebool
SetPresentationMode(DialogPresentationMode)
[Version("1.5")]
public void SetPresentationMode(DialogPresentationMode presentationMode)
  Parameters
presentationModeDialogPresentationMode
SetTitle(string)
[Version("1.5")]
public void SetTitle(string title)
  Parameters
titlestring
UpdateNextAccessibleSibling(Accessible?)
[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)
  Parameters
newSiblingAccessible
Events
OnCloseAttempt
public event SignalHandler<Dialog> OnCloseAttempt
  Event Type
OnClosed
public event SignalHandler<Dialog> OnClosed