update doc/*/scripting/builtins/libapp.md
This commit is contained in:
parent
c42d661223
commit
9e60a818e0
@ -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.
|
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.
|
||||||
|
|||||||
@ -159,3 +159,9 @@ app.get_setting_info(name: str) -> {
|
|||||||
```
|
```
|
||||||
|
|
||||||
Возвращает таблицу с информацией о настройке. Бросает исключение, если настройки не существует.
|
Возвращает таблицу с информацией о настройке. Бросает исключение, если настройки не существует.
|
||||||
|
|
||||||
|
```lua
|
||||||
|
app.focus()
|
||||||
|
```
|
||||||
|
|
||||||
|
Переводит окно на передний план и устанавливает фокус ввода.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user