Reference for .Net version of SpaceVIL  0.3.5.8
SpaceVIL (Space of Visual Items Layout) is a cross-platform and multilingual framework for creating GUI client applications for .NET Standard, .NET Core and JVM. SpaceVIL is based on OpenGL graphic technology and GLFW. Using this framework in conjunction with .Net Core or with a JVM, you can work and create graphical client applications on Linux, Mac OS X and Windows.
SpaceVIL.WindowsBox Class Reference

WindowsBox is a storage-class that provides an access to existing windows by name and Guid. More...

Static Public Member Functions

static bool TryShow (Guid guid)
 Trying to show a window by its GUID. More...
 
static bool TryShow (String name)
 Trying to show a window by its name. More...
 
static CoreWindow GetWindowInstance (string name)
 Getting a window instance by its name. More...
 
static CoreWindow GetWindowInstance (Guid guid)
 Getting a window instance by its GUID. More...
 
static CoreWindow GetCurrentFocusedWindow ()
 Getting the current focused window. More...
 
static List< String > GetWindowsList ()
 Getting the list of existing windows in the application. More...
 
static void PrintStoredWindows ()
 Printing all existing windows in the application. More...
 

Detailed Description

WindowsBox is a storage-class that provides an access to existing windows by name and Guid.

Member Function Documentation

◆ GetCurrentFocusedWindow()

static CoreWindow SpaceVIL.WindowsBox.GetCurrentFocusedWindow ( )
static

Getting the current focused window.

Returns
The current focused window as SpaceVIL.CoreWindow.

◆ GetWindowInstance() [1/2]

static CoreWindow SpaceVIL.WindowsBox.GetWindowInstance ( Guid  guid)
static

Getting a window instance by its GUID.

Parameters
guidGUID of the window.
Returns
CoreWindow link: if window with such GUID is exist. NULL: if window with such GUID is not exist.

◆ GetWindowInstance() [2/2]

static CoreWindow SpaceVIL.WindowsBox.GetWindowInstance ( string  name)
static

Getting a window instance by its name.

Parameters
nameName of the window.
Returns
CoreWindow link: if window with such name is exist. NULL: if window with such name is not exist.

◆ GetWindowsList()

static List<String> SpaceVIL.WindowsBox.GetWindowsList ( )
static

Getting the list of existing windows in the application.

Returns
The list of existing windows.

◆ PrintStoredWindows()

static void SpaceVIL.WindowsBox.PrintStoredWindows ( )
static

Printing all existing windows in the application.

◆ TryShow() [1/2]

static bool SpaceVIL.WindowsBox.TryShow ( Guid  guid)
static

Trying to show a window by its GUID.

Parameters
guidGUID of the window.
Returns
True: if window with such GUID is exist. False: if window with such GUID is not exist.

◆ TryShow() [2/2]

static bool SpaceVIL.WindowsBox.TryShow ( String  name)
static

Trying to show a window by its name.

Parameters
nameName of the window.
Returns
True: if window with such name is exist. False: if window with such name is not exist.

The documentation for this class was generated from the following file: