Class ApplicationWindow
- Namespace
- Adw
- Assembly
- Adw-1.dll
public class ApplicationWindow : ApplicationWindow, IObject, INotifyPropertyChanged, IDisposable, ActionGroup, ActionMap, Accessible, Buildable, ConstraintTarget, Native, Root, ShortcutManager, IHandle, GTypeProvider
- Inheritance
-
ApplicationWindow
- Implements
-
- Inherited Members
-
Constructors
ApplicationWindow()
public ApplicationWindow()
ApplicationWindow(params ConstructArgument[])
protected ApplicationWindow(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
ApplicationWindow(IntPtr, bool)
protected ApplicationWindow(IntPtr ptr, bool ownedRef)
Parameters
ptr
IntPtr
ownedRef
bool
Fields
ContentPropertyDefinition
public static readonly Property<Widget?, ApplicationWindow> ContentPropertyDefinition
Field Value
- Property<Widget, ApplicationWindow>
CurrentBreakpointPropertyDefinition
public static readonly Property<Breakpoint?, ApplicationWindow> CurrentBreakpointPropertyDefinition
Field Value
- Property<Breakpoint, ApplicationWindow>
DialogsPropertyDefinition
public static readonly Property<ListModel, ApplicationWindow> DialogsPropertyDefinition
Field Value
- Property<ListModel, ApplicationWindow>
VisibleDialogPropertyDefinition
public static readonly Property<Dialog?, ApplicationWindow> VisibleDialogPropertyDefinition
Field Value
- Property<Dialog, ApplicationWindow>
Properties
AccessibleRole
public AccessibleRole AccessibleRole { get; set; }
Property Value
- AccessibleRole
Content
public Widget? Content { get; set; }
Property Value
- Widget
CurrentBreakpoint
public Breakpoint? CurrentBreakpoint { get; }
Property Value
- Breakpoint
Dialogs
public ListModel Dialogs { get; }
Property Value
- ListModel
VisibleDialog
public Dialog? VisibleDialog { get; }
Property Value
- Dialog
Methods
ActionAdded(string)
[Version("2.28")]
public void ActionAdded(string actionName)
Parameters
actionName
string
ActionEnabledChanged(string, bool)
[Version("2.28")]
public void ActionEnabledChanged(string actionName, bool enabled)
Parameters
actionName
string
enabled
bool
ActionRemoved(string)
[Version("2.28")]
public void ActionRemoved(string actionName)
Parameters
actionName
string
ActionStateChanged(string, Variant)
[Version("2.28")]
public void ActionStateChanged(string actionName, Variant state)
Parameters
actionName
string
state
Variant
ActivateAction(string, Variant?)
[Version("2.28")]
public void ActivateAction(string actionName, Variant? parameter)
Parameters
actionName
string
parameter
Variant
AddAction(Action)
[Version("2.32")]
public void AddAction(Action action)
Parameters
action
Action
AddActionEntries(ActionEntry[], IntPtr)
[Version("2.32")]
public void AddActionEntries(ActionEntry[] entries, IntPtr userData)
Parameters
entries
ActionEntry[]
userData
IntPtr
AddBreakpoint(Breakpoint)
[Version("1.4")]
public void AddBreakpoint(Breakpoint breakpoint)
Parameters
breakpoint
Breakpoint
Announce(string, AccessibleAnnouncementPriority)
[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)
Parameters
message
string
priority
AccessibleAnnouncementPriority
ChangeActionState(string, Variant)
[Version("2.28")]
public void ChangeActionState(string actionName, Variant value)
Parameters
actionName
string
value
Variant
GetAccessibleParent()
[Version("4.10")]
public Accessible? GetAccessibleParent()
Returns
- Accessible
GetAccessibleRole()
public AccessibleRole GetAccessibleRole()
Returns
- AccessibleRole
GetActionEnabled(string)
[Version("2.28")]
public bool GetActionEnabled(string actionName)
Parameters
actionName
string
Returns
- bool
GetActionParameterType(string)
[Version("2.28")]
public VariantType? GetActionParameterType(string actionName)
Parameters
actionName
string
Returns
- VariantType
GetActionState(string)
[Version("2.28")]
public Variant? GetActionState(string actionName)
Parameters
actionName
string
Returns
- Variant
GetActionStateHint(string)
[Version("2.28")]
public Variant? GetActionStateHint(string actionName)
Parameters
actionName
string
Returns
- Variant
GetActionStateType(string)
[Version("2.28")]
public VariantType? GetActionStateType(string actionName)
Parameters
actionName
string
Returns
- VariantType
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
GetContent()
public Widget? GetContent()
Returns
- Widget
GetCurrentBreakpoint()
[Version("1.4")]
public Breakpoint? GetCurrentBreakpoint()
Returns
- Breakpoint
GetDialogs()
[Version("1.5")]
public ListModel GetDialogs()
Returns
- ListModel
GetDisplay()
public Display GetDisplay()
Returns
- Display
GetFirstAccessibleChild()
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()
Returns
- Accessible
GetGType()
public static Type GetGType()
Returns
- Type
GetNextAccessibleSibling()
[Version("4.10")]
public Accessible? GetNextAccessibleSibling()
Returns
- Accessible
[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
public void GetSurfaceTransform(out double x, out double y)
Parameters
x
double
y
double
GetVisibleDialog()
[Version("1.5")]
public Dialog? GetVisibleDialog()
Returns
- Dialog
HasAction(string)
[Version("2.28")]
public bool HasAction(string actionName)
Parameters
actionName
string
Returns
- bool
ListActions()
[Version("2.28")]
public string[] ListActions()
Returns
- string[]
LookupAction(string)
[Version("2.32")]
public Action? LookupAction(string actionName)
Parameters
actionName
string
Returns
- Action
New(Application)
public static ApplicationWindow New(Application app)
Parameters
app
Application
Returns
- ApplicationWindow
Realize()
RemoveAction(string)
[Version("2.32")]
public void RemoveAction(string actionName)
Parameters
actionName
string
RemoveActionEntries(ActionEntry[])
[Version("2.78")]
public void RemoveActionEntries(ActionEntry[] entries)
Parameters
entries
ActionEntry[]
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
SetContent(Widget?)
public void SetContent(Widget? content)
Parameters
content
Widget
Unrealize()
UpdateNextAccessibleSibling(Accessible?)
[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)
Parameters
newSibling
Accessible