Addition of Window.set_size to SDK Call Reference doc

This commit is contained in:
PySimpleGUI 2022-06-24 09:35:07 -04:00
parent 73d65ffdc1
commit 3113cc6d36
3 changed files with 33 additions and 1 deletions

View file

@ -13733,6 +13733,21 @@ Parameter Descriptions:
|--|--|--|
| (int, int) | size | (width, height) tuple (int, int) of the desired window size in pixels |
### set_size
Changes the size of the window, if possible. You can also use the Window.size prooerty
to set/get the size.
```
set_size(size)
```
Parameter Descriptions:
|Type|Name|Meaning|
|--|--|--|
| (int, int) | size | (width, height) of the desired window size |
### set_title
Change the title of the window