mojo.app.Window - nitrologic/monkey2 GitHub Wiki
mojo:mojo.app.View
Class Window ExtendsThe Window class.
Constructors | |
---|---|
New | Creates a new window. |
Properties | |
---|---|
CanRender | (read only) |
ClearColor | The window clear color. |
ClearEnabled | True if window clearing is enabled. |
ContentView | Window content view. |
Fullscreen | Window fullscreen state. |
Maximized | Window maximized state. (read only) |
Minimized | Window minimized state. (read only) |
SwapAsync | |
SwapInterval | The window swap interval. |
Title | The window title text. |
Methods | |
---|---|
BeginFullscreen | Switches window to fullscreen mode. |
ClearWindow | Clear the window directly. |
EndFullscreen | Ends fullscreen mode. |
Maximize | Maximizes the window. |
Minimize | Minimizes the window. |
ResizeWindow | |
Restore | Restores the window. |
Protected methods | |
---|---|
OnCreateWindow | Called once after a Window has been created. |
OnThemeChanged | Theme changed handler. |
OnTouchEvent | Touch event handler. |
OnWindowEvent | Window event handler. |