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 | | (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 ### set_title
Change the title of the window Change the title of the window

View File

@ -3005,7 +3005,6 @@ Example: If first row has a `VPush`, then your layout will be At the bottom of
### move_to_center ### move_to_center
<!-- <+Window.move_to_center+> --> <!-- <+Window.move_to_center+> -->
### normal ### normal
<!-- <+Window.normal+> --> <!-- <+Window.normal+> -->
@ -3042,6 +3041,9 @@ Example: If first row has a `VPush`, then your layout will be At the bottom of
### set_min_size ### set_min_size
<!-- <+Window.set_min_size+> --> <!-- <+Window.set_min_size+> -->
### set_size
<!-- <+Window.set_size+> -->
### set_title ### set_title
<!-- <+Window.set_title+> --> <!-- <+Window.set_title+> -->

View File

@ -13733,6 +13733,21 @@ Parameter Descriptions:
|--|--|--| |--|--|--|
| (int, int) | size | (width, height) tuple (int, int) of the desired window size in pixels | | (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 ### set_title
Change the title of the window Change the title of the window