Class ApplicationWindow
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class ApplicationWindow : Window, IObject, INotifyPropertyChanged, IDisposable, ActionGroup, ActionMap, Accessible, Buildable, ConstraintTarget, Native, Root, ShortcutManager, IHandle, GTypeProvider
- Inheritance
-
ApplicationWindow
- Implements
-
- Derived
-
- 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
public static readonly Property<bool, ApplicationWindow> ShowMenubarPropertyDefinition
Field Value
- Property<bool, ApplicationWindow>
Properties
AccessibleRole
public AccessibleRole AccessibleRole { get; set; }
Property Value
- AccessibleRole
public bool ShowMenubar { get; set; }
Property Value
- bool
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
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
GetDisplay()
public Display GetDisplay()
Returns
- Display
GetFirstAccessibleChild()
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()
Returns
- Accessible
GetGType()
public static Type GetGType()
Returns
- Type
GetHelpOverlay()
public ShortcutsWindow? GetHelpOverlay()
Returns
- ShortcutsWindow
GetId()
Returns
- uint
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
public bool GetShowMenubar()
Returns
- bool
GetSurface()
public Surface? GetSurface()
Returns
- Surface
public void GetSurfaceTransform(out double x, out double y)
Parameters
x
double
y
double
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 application)
Parameters
application
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
SetHelpOverlay(ShortcutsWindow?)
public void SetHelpOverlay(ShortcutsWindow? helpOverlay)
Parameters
helpOverlay
ShortcutsWindow
public void SetShowMenubar(bool showMenubar)
Parameters
showMenubar
bool
Unrealize()
UpdateNextAccessibleSibling(Accessible?)
[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)
Parameters
newSibling
Accessible