window class
Description
Represents the application window.
Notes
It is a class that is statically included in the Cooker.
An instance returned by variable declaration has been initialized.
Returns a singleton instance in response to an instance creation request. That is, variables of this class refer to the same instance.
fitter
| Signature | Description |
| window() | Returns a new instance of window class. |
getter
| Signature | Description |
| CanResize | Returns a value that indicates whether the window is resizable. |
| Fitted | Returns the value that indicates whether an instance was initialized. |
| Height | Returns the height of the window. |
| IsMaximized | Returns a value that indicates whether the window is maximized. |
| IsMinimized | Returns a value that indicates whether the window is minimized. |
| IsNormal | Returns a value that indicates whether the window is in a normal state. |
| Left | Returns the position of the window's left edge on the desktop screen. |
| MainBrowser | Returns the Main-browser. |
| MainJSExecutor | Returns the jsexecutor for the Main-browser. |
| SubBrowser | Returns the Sub-browser. |
| SubJSExecutor | Returns the jsexecutor for the Sub-browser. |
| Top | Returns the position of the window's top edge on the desktop screen. |
| TopMost | Returns a value that indicates whether the window is always in the foreground. |
| TypeName | Returns the type name. |
| Width | Returns the width of the window. |
setter
| Signature | Description |
| CanResize(bool) | Sets a value that indicates whether the window is resizable. |
| Height(int) | Sets the height of the window. |
| Height(real) | Sets the height of the window. |
| Left(int) | Sets the position of the window's left edge on the desktop screen. |
| Left(real) | Sets the position of the window's left edge on the desktop screen. |
| Top(int) | Sets the position of the window's top edge on the desktop screen. |
| Top(real) | Sets the position of the window's top edge on the desktop screen. |
| TopMost(bool) | Sets a value that indicates whether the window is always in the foreground. |
| Width(int) | Sets the width of the window. |
| Width(real) | Sets the width of the window. |
method
| Signature | Description |
| Activate() | Activates the window. |
| Close() | Closes the window. |
| Maximize() | Maximizes the window. |
| Minimize() | Minimizes the window. |
| Normalize() | Brings the window to its normal state. |
| PointFromScreen(real,real) | Converts screen coordinates to client coordinates. |
| PointToScreen(real,real) | Converts client coordinates to screen coordinates. |
| SetWidthRatio(real,real) | Sets the browser width ratio. |
event
| Signature | Description |
| Activated(class,string) | Assigns a handler to the "Activated" event. |
| Closing(class,string) | Assigns a handler to the "Closing" event. |
| Deactivated(class,string) | Assigns a handler to the "Deactivated" event. |


