The Window Manager
The Window Manager is responsible for creating windows of various types and finding
There is only one window manager and it can always be found at jancy.windowManager.
Methods
windowManager.createTabbedWindow(options={})
options(Tabbed Window Creation object)
Returns a promise that resolves with the newly created Tabbed window instance.
If options.name specifies a window that currently exists, a new window won’t be created and a handle to the existing named window will be used as the resolved value.
windowManager.getWindow(search)
search(Object)uuid(string) optional find a window by uuidwhich(string) optional can befirst,last, orfocusedname(string) optional find a window by name
Returns a tabbed window object based on the critieria defined by the search object or null if a window could not be found.
windowManager.getWindowCount()
Returns the number of windows.
windowManager.getWindows()
Returns an array of all tabbed window objects.