Class WindowSystem
Assembly: Dalamud.dll​
public class WindowSystem : IWindowSystem
Implements:
Dalamud.Interface.Windowing.IWindowSystem
Properties​
HasAnyWindowSystemFocus​
Gets a value indicating whether any Dalamud.Interface.Windowing.WindowSystem contains any Dalamud.Interface.Windowing.IWindow that has focus and is not marked to be excluded from consideration.
public static bool HasAnyWindowSystemFocus { get; }
FocusedWindowSystemNamespace​
Gets the name of the currently focused window system that is redirecting normal escape functionality.
public static string FocusedWindowSystemNamespace { get; }
TimeSinceLastAnyFocus​
Gets the timespan since the last time any window was focused.
public static TimeSpan TimeSinceLastAnyFocus { get; }
Windows​
Gets a read-only list of all Dalamud.Interface.Windowing.IWindows in this Dalamud.Interface.Windowing.WindowSystem.
public IReadOnlyList<IWindow> Windows { get; }
HasAnyFocus​
Gets a value indicating whether any window in this Dalamud.Interface.Windowing.WindowSystem has focus and is not marked to be excluded from consideration.
public bool HasAnyFocus { get; }
Namespace​
Gets or sets the name/ID-space of this Dalamud.Interface.Windowing.WindowSystem.
public string? Namespace { get; set; }
Methods​
AddWindow(IWindow)​
Add a window to this Dalamud.Interface.Windowing.WindowSystem. The window system doesn't own your window, it just renders it You need to store a reference to it to use it later.
public void AddWindow(IWindow window)
Parameters​
| Type | Name | Description |
|---|---|---|
| Dalamud.Interface.Windowing.IWindow | window | The window to add. |
RemoveWindow(IWindow)​
Remove a window from this Dalamud.Interface.Windowing.WindowSystem. Will not dispose your window, if it is disposable.
public void RemoveWindow(IWindow window)
Parameters​
| Type | Name | Description |
|---|---|---|
| Dalamud.Interface.Windowing.IWindow | window | The window to remove. |
RemoveAllWindows()​
Remove all windows from this Dalamud.Interface.Windowing.WindowSystem. Will not dispose your windows, if they are disposable.
public void RemoveAllWindows()
Draw()​
Draw all registered windows using ImGui.
public void Draw()