Updated GUI API (markdown)

IgorTimofeev 2021-11-17 04:51:29 +07:00
parent 6fbb71e395
commit 466110d3b5

@ -1850,7 +1850,6 @@ This object has following properties:
| ------ | ------ | ------ |
| *function* | :**resize**(*int* newWidth, *int* newHeight) | Sets a new window size and calls .**onResize**(...) callback-function if it exists |
| *callback-function* | .**onResize**(*int* newWidth, *int* newHeight) | This callback-function is called after window size has been changed via :**resize**(...) function. Two parameters are new window size |
| *function* | :**close**() | Closes window and performs an self :**remove**() on it |
| *function* | :**minimize**() | Toggles window hidden state. Call this function again to revert changes |
| *function* | :**maximize**() | Toggles window size to full-screen (to fit parent container) or default size. Call this function again to set previous used size. This will call :**resize**(...) function and, of course, .**onResize**(...) callback-function if it exists |
| *function* | :**focus**() | Sets keyboard focus to this window, makes it **unhidden if it was**, moves in front of other windows and calls .**onFocus**() callback-function if it exists |