Documentation
›
API Reference
›
Object
›
Window
GetWidth
Lua
C++
This function returns the outer width of a window in pixels.
Syntax
int
GetWidth
()
Returns
Returns the outer width of a window. If you want the size of the window client area, use Context::GetWidth() instead.