Table of Contents

Class NuiWindow

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

Represents a NUI scriptable window container.

public sealed class NuiWindow
Inheritance
NuiWindow
Inherited Members
Extension Methods

Constructors

NuiWindow(NuiLayout, NuiProperty<string>)

Represents a NUI scriptable window container.

Properties

AcceptsInput

Set to false to disable all input. All hover, clicks and keypresses will fall through.

Border

Gets or sets whether the window border should be rendered.

Closable

Gets or sets whether this window can be closed.
You must provide a way to close the window if you set this to false.

Collapsed

Gets or sets whether this window is collapsed.
Use a static value to force the popup into a collapsed/unfolded state.

Geometry

Gets or sets the geometry and bounds of this window.
Set x and y to -1.0 to center the window.
Set x and/or y to -2.0 to position the window's top left at the mouse cursor's position of that axis
Set x and/or y to -3.0 to center the window on the mouse cursor's position of that axis

Id

Gets or sets the element ID for this window.

Resizable

Gets or sets whether this window can be resized.

Root

Gets or sets the root parent layout containing the window content.

Title

Gets or sets the title of this window.

Transparent

Gets or sets whether the background should be rendered.

Version

Gets the current serialized version of this window.