update doc/*/scripting/builtins/libapp.md
This commit is contained in:
@@ -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()
|
||||||
|
```
|
||||||
|
|
||||||
|
Переводит окно на передний план и устанавливает фокус ввода.
|
||||||
|
|||||||
Reference in New Issue
Block a user