|
GearBlocks
The GearBlocks Lua scripting API
|
Provides access to a UI window's properties and methods. More...
Public Member Functions | |
| void | BringToFront () |
| Bring the window in front of other windows. | |
Properties | |
| bool | IsMovable [get, set] |
| Is the window movable? | |
| bool | IsResizable [get, set] |
| Is the window resizable? | |
| float | MinResizeWidth [get, set] |
| Minimum resize width of the window. | |
| float | MinResizeHeight [get, set] |
| Minimum resize height of the window. | |
| bool | IsCollapsible [get, set] |
| Is the window collapsible? | |
| bool | IsCloseable [get, set] |
| Is the window closeable? | |
| string | Title [get, set] |
| The window title. | |
| bool | IsCollapsed [get, set] |
| Is the window collapsed? | |
| RectProxy | ContentRect [get] |
| The calculated rect of the window content area. | |
Events | |
| ValueChangedHandler | OnClose |
| Event that is raised when the window is closed. | |
| ValueChangedHandler | OnResize |
| Event that is raised when the window is resized. | |
Provides access to a UI window's properties and methods.
|
getset |
Is the window movable?
true if this window can be moved; otherwise, false.
|
getset |
Is the window resizable?
true if this window can be resized; otherwise, false.
|
getset |
Minimum resize width of the window.
The minimum width the window can be resized to.
|
getset |
Minimum resize height of the window.
The minimum height the window can be resized to.
|
getset |
Is the window collapsible?
true if this window can be collapsed; otherwise, false.
|
getset |
Is the window closeable?
true if this window can be closed; otherwise, false.
|
getset |
The window title.
The title of this window.
|
getset |
Is the window collapsed?
true if this window is currently collapsed; otherwise, false.
|
get |
The calculated rect of the window content area.
The content area rect.