mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
update doc/*/scripting/builtins/libapp.md
This commit is contained in:
parent
c42d661223
commit
9e60a818e0
2 changed files with 12 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -159,3 +159,9 @@ app.get_setting_info(name: str) -> {
|
|||
```
|
||||
|
||||
Возвращает таблицу с информацией о настройке. Бросает исключение, если настройки не существует.
|
||||
|
||||
```lua
|
||||
app.focus()
|
||||
```
|
||||
|
||||
Переводит окно на передний план и устанавливает фокус ввода.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue