scripting: add setFocus(id)
This commit is contained in:
parent
b5446c08ac
commit
e9a829b323
4 changed files with 35 additions and 1 deletions
|
|
@ -170,6 +170,16 @@ Reference:
|
|||
|
||||
----
|
||||
|
||||
#### `setFocus(id)`
|
||||
|
||||
- `id` (optional): widget `id` as a string
|
||||
|
||||
Give focus to a widget (ie input widget).
|
||||
|
||||
*Built-in client only*: tells the operating system to give the focus to the client window
|
||||
|
||||
----
|
||||
|
||||
#### `unfocus()`
|
||||
|
||||
*Built-in client only*: tells the operating system to give the focus to the window that was focused before.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue