← All built-ins / ui_size()
ui_size()
ui_size(...$args): int
Parameters
| Name | Type | Description |
|---|---|---|
| $handle | int | window/control handle |
| $w | int | width |
| $h | int | height |
Return value
Resizes the window/control.
Example
echo "ui_size($win, 600, 400);";
ui_size($win, 600, 400);
This call needs a real environment (window, server, database or stdin) — the snippet above shows the typical usage shape.