Interface IWindowSystem
Class running a WindowSystem using Dalamud.Interface.Windowing.IWindow implementations to simplify ImGui windowing.
Assembly: Dalamud.dll
public interface IWindowSystem
Derived:
Dalamud.Interface.Windowing.WindowSystem
Properties
Windows
Gets a read-only list of all Dalamud.Interface.Windowing.IWindows in this Dalamud.Interface.Windowing.WindowSystem.
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.
bool HasAnyFocus { get; }
Namespace
Gets or sets the name/ID-space of this Dalamud.Interface.Windowing.WindowSystem.
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.
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.
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.
void RemoveAllWindows()
Draw()
Draw all registered windows using ImGui.
void Draw()