update doc/*/scripting/builtins/libapp.md

This commit is contained in:
MihailRis 2025-11-15 21:27:11 +03:00
parent c42d661223
commit 9e60a818e0
2 changed files with 12 additions and 0 deletions

View File

@ -158,3 +158,9 @@ app.get_setting_info(name: str) -> {
```
Returns a table with information about a setting. Throws an exception if the setting does not exist.
```lua
app.focus()
```
Brings the window to front and sets input focus.

View File

@ -159,3 +159,9 @@ app.get_setting_info(name: str) -> {
```
Возвращает таблицу с информацией о настройке. Бросает исключение, если настройки не существует.
```lua
app.focus()
```
Переводит окно на передний план и устанавливает фокус ввода.