Merge pull request #5643 from PySimpleGUI/Dev-latest

Addition of Window.set_size to SDK Call Reference doc
This commit is contained in:
PySimpleGUI 2022-06-24 09:35:27 -04:00 committed by GitHub
commit 63d15e9903
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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