constructor([text], [owner_window], [type])
Class: Window.
Description:
Window constructor.
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
|
|
string |
Text displayed in Window title bar and in task bar button. |
|
|
|
null |
Enables modal mode. This new Window will always be on top of the owner Window until it is closed. |
|
|
|
Window.Type.Normal |
Type of the Window. |
Examples:
3 ways to create a new Window:
new Window() // without title text
new Window("Window Title Text") // width title text
new Window("Window Title Text", owner_window, Window.Type.Utility) // for modal window
