Class WindowBehaviorExtensions
Inheritance
System.Object
WindowBehaviorExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: InitialPrefabs.NimGui
Assembly: InitialPrefabs.ImGui.dll
Syntax
public static class WindowBehaviorExtensions
Methods
ClosePane(ImWindow, String)
If the pane is available, closes the window.
Declaration
public static void ClosePane(this ImWindow window, string title)
Parameters
| Type | Name | Description |
|---|---|---|
| ImWindow | window | The window containing the pane. |
| System.String | title | The title of the pane |
IsClosed(ImWindow, String)
Is the window closed?
Declaration
public static bool IsClosed(this ImWindow window, string title)
Parameters
| Type | Name | Description |
|---|---|---|
| ImWindow | window | The window containing the pane. |
| System.String | title | The title of the pane to look for. |
Returns
| Type | Description |
|---|---|
| System.Boolean |
OpenPane(ImWindow, String)
If the pane was previously closed, shows the window.
Declaration
public static void OpenPane(this ImWindow window, string title)
Parameters
| Type | Name | Description |
|---|---|---|
| ImWindow | window | The window containing the pane. |
| System.String | title | The title of the pane |