← All built-ins / ui_window()
ui_window()
ui_window(...$args): int
Parameters
| Name | Type | Description |
|---|---|---|
| $title | string | window title |
| $x | int | left position |
| $y | int | top position |
| $w | int | width |
| $h | int | height |
Return value
Window handle for ui_show/ui_add/ui_title, …
Example
echo "$win = ui_window("HolyPHP", 100, 100, 400, 300);";$win = ui_window("HolyPHP", 100, 100, 400, 300);This call needs a real environment (window, server, database or stdin) — the snippet above shows the typical usage shape.