Release 4.47.0
This commit is contained in:
parent
b13eec9263
commit
9caa0cea92
9 changed files with 2440 additions and 2188 deletions
|
@ -2088,11 +2088,53 @@ Text Elements really autosize now
|
|||
- Addition of "project information" to the issue your opportunity to share something about what you're making
|
||||
|
||||
|
||||
## 4.47.0 PySimpleGUI 30-Aug-2021
|
||||
|
||||
Stretch & VStretch - A new era of element alignment!
|
||||
Upgrade from GitHub - uses pip for real now
|
||||
Image element - Simpler to use
|
||||
`size` and `pad` parms can be ints in addition to tuples to speed up coding
|
||||
|
||||
- `rstrip` parm added to `Multiline` element
|
||||
- `Combo.update` fixed bug added in 4.45.0 with disabled not working correctly when calling update
|
||||
- Changed font type in all docstrings to be (str or (str, int[, str]) or None) (thank you Jason!!)
|
||||
- Added code from Jason (slightly modified) for _fixed_map
|
||||
- Fix for default element size was incorrectly using as the default for parm in Window.
|
||||
- Needed to set it in the init code rather than using the parm to set it.
|
||||
- `Window.location` gets a new parm `more_accurate` (defaults to `False`). If `True`, uses window's geometry
|
||||
- Added `Window.keep_on_top_set` and `Window.keep_on_top_clear`. Makes window behave like was set when creating Window
|
||||
- Image Element
|
||||
- Added new constant `BLANK_BASE64` that essentially erases an Image element if assigned to it. It's 1x1 pixel and Alpha=0
|
||||
- Image element New `source` parameter as the first parm.
|
||||
- Can be a string or a bytestring. Backwards compatible because first was filename.
|
||||
- Works for both the init and the update. No need to specify any name at all... just pass in the thing you want to change to. Greatly shortens code.
|
||||
- Ths idea is to not have to specify the parameter name. `sg.Image('filename')` and `sg.Image(base64)` both work without using any parameter names.
|
||||
- Fix for `Image.update` docstring
|
||||
- Element sizes, when being created, can be an **int**. If `size=int`, then it represents a `size=(int, 1)`. GREATLY shortens layouts.
|
||||
- Sometimes this these things only become apparent later even though it seems obvious
|
||||
- padding - Another tuple / int convenience change.
|
||||
- Tired of typing `pad=(0,0)`? Yea, me too. Now we can type `pad=0`.
|
||||
- If an int is specified instead of a tuple, then a tuple will be created to be same as the int. `pad=0` is the same as `pad=(0,0)`
|
||||
- Add NEW upgrade from GitHub code. Thank you @israel-dryer!
|
||||
- Change in ttk style naming to ensure more unique style names are used
|
||||
- Cast key to string when making a ttk style
|
||||
- Added `"___"` between unique counter and user's key when making a unique style string for ttk widgets. Fixed problem with elements from one window interfering with another window elements
|
||||
- Changed Upgrade From GitHub Code
|
||||
- When upgrading, use the interpreter from the global settings for the upgrade! This could get tricky, but trying to make it logical
|
||||
- Output of the pip command shown in an upgrade window using a `Multiline` element so errors can be copied from it.
|
||||
- Added printing of the value of `sys.executable` to the upgrade information
|
||||
- `Stretch` and `VStretch` Elements - a promising solution to element justification!
|
||||
- Redefinition of the `Stretch` element. No longer returns an Error Element. It now returns a Text element that does the same kind of operation as the PySimpleGUIQt's `Stretch` element! Very nice!
|
||||
- `VStretch` stretches vertically instead of horizontally
|
||||
- UserSettings APIs
|
||||
- Changed the repr method of the user settings object to use the pretty printer to format the dictionary information into a nicer string
|
||||
|
||||
|
||||
## Upcoming
|
||||
|
||||
The future for PySimpleGUI looks bright!
|
||||
|
||||
The overall roadmap is a simple one:
|
||||
The overall road-map is a simple one:
|
||||
* Continue to build-out the tkinter port
|
||||
* Continue to bring features forward from the tkinter port to the other ports (Qt, WxPython, Remi)
|
||||
* Add mobile applications (native built applications instead of PyDriod3 that's used today)
|
||||
|
@ -2166,6 +2208,6 @@ The project is self-funded and there are ongoing costs just to offer the softwar
|
|||
|
||||
## Legal
|
||||
|
||||
All documentation in this file and in the PySimpleGUI GitHub account are copyright 2021 by PySimpleGUI Inc. The PySimpleGUI code, the demo programs and other source code in the PySimpleGUI account also have a copyright owned by PySimpleGUI Inc.
|
||||
All documentation in this file and in the PySimpleGUI GitHub account are copyright 2021 by PySimpleGUI Tech LLC. The PySimpleGUI code, the demo programs and other source code in the PySimpleGUI account also have a copyright owned by PySimpleGUI Inc.
|
||||
|
||||
The name "PySimpleGUI" and the PySimpleGUI logo are Trademarked
|
Loading…
Add table
Add a link
Reference in a new issue