Release 4.,38.0

This commit is contained in:
PySimpleGUI 2021-03-21 18:29:01 -04:00
parent 533af9f3a9
commit c175416d0b
9 changed files with 381 additions and 118 deletions

View file

@ -316,3 +316,4 @@ It's understood that this way of development of a Python package is unorthodox.
## GitHub Repos
If you've created a GitHub for your project that uses PySimpleGUI then please post screenshots in in the "User's Screenshots" Issue on the PySimpleGUI GitHub. Say a little something about it and I'll also add it to the announcements. People *love* success stories and showing your GUI's screen visually communicates your success.

View file

@ -1793,6 +1793,26 @@ I'll eventually figure out this subprocess thing... honest...
* Makes it one less import and the code already existed. All that needed to happen is the _ removed from the front of function name
## 4.38.0 PySimpleGUI 21-Mar-2021
The "so much for no new releases for a while" release
* Changed name of the NEW parm in Multiline element from scrollbar to no_scrollbar
* This matches the other elements that also have this same parameter (Listbox)
* Wanted to get this release posted prior to users writing code that uses it (it's only been 1 week)
* This is the actual purpose for the release... so that it doesn't linger to the point it breaks being backwards compatible
* Some additional debugger stuff... nothing to see here... keep moving.... will let you know when there's more
* Added icon parameter to popup_scrolled
* New Exec API call - execute_find_callers_filename
* It basically looks backwards until PySimpleGUI isn't found
* Hopefully will help in error messages to determine who is calling PySimpleGUI
* Made a constant variable for the & char used by Menus in PySimpleGUI for shortcuts
* Also fixed a couple of places where they were being erroneously stripped from the normal menu text
* Better error reporting for duplicatea keys
* Found a problem with using print for errors - rerouted stdout/stderr can cause MORE errors
* Interestingly, popups work great for these errors as they do not havea cascading error effect
## Upcoming
@ -1846,16 +1866,18 @@ From the start of the PSG project, tkinter was not meant to be the only underlyi
# Author & Owner
Written and owned by The PySimpleGUI Organization
Written and owned by PySimpleGUI Inc
This documentation as well as all PySimpleGUI documentation and code is Copyright 2018, 2019, 2020 by PySimpleGUI.org
This documentation as well as all PySimpleGUI documentation and code is Copyright 2018, 2019, 2020, 2021 by PySimpleGUI
Send correspondence to PySimpleGUI@PySimpleGUI.com
Send business correspondence to PySimpleGUI@PySimpleGUI.com
## License
GNU Lesser General Public License (LGPL 3) +
Please note that this license does **not** allow you to break copyright laws. You are licensing the software.
## Acknowledgments
There are a number of people that have been key contributors to this project both directly and indirectly. Paid professional help has been deployed a number of critical times in the project's history. This happens in the life of software development from time to time.
@ -1867,3 +1889,9 @@ If you've helped, I sure hope that you feel like you've been properly thanked.
In response to a number of email contacts from individuals and corporations that are using PySimpleGUI that wanted to financially support the project a "Support" Button was added to the GitHub site. This support button is connected with a PayPal account. If you wish to help support this currently freely supplied software and free technical support, then follow this link: www.paypal.me/psgui .
To be clear, this is not a solicitation for your money. No one is being directly asked to support / contribute. The project is self-funded and there are ongoing costs just to offer the software (URLs, ReadTheDocs, etc). If you're a corporate user and find that PySimpleGUI is helping you financially, that's awesome. If you want to help ensure PySimpleGUI has a future, you now have that option to help. It's likely that at some point the costs will become too high for the project to continue to be free, but until then we'll all enjoy the successes we're having.
## 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.
The name "PySimpleGUI" and the PySimpleGUI logo are Trademarked

View file

@ -1,4 +1,5 @@
![pysimplegui_logo](https://user-images.githubusercontent.com/13696193/43165867-fe02e3b2-8f62-11e8-9fd0-cc7c86b11772.png)
![LOGO](https://raw.githubusercontent.com/PySimpleGUI/PySimpleGUI/master/images/for_readme/Logo%20with%20text%20for%20GitHub%20Top.png)
# ELEMENT AND FUNCTION CALL REFERENCE
@ -2339,6 +2340,8 @@ The following methods are here for backwards compatibility reference. You will
### These are non-PEP8 Compliant Methods - do NOT use
***Do not use these***... they are here for your reference should you see them in old code.
The following methods are here for backwards compatibility reference. You will find there are PEP8 versions for each of these methods. The PEP8 versions will be all lower case and have underscores.
@ -2621,7 +2624,9 @@ They are shown here in case you run into them in some old code.
## Popup Not PEP8 Compliant names
These versions of the popup functions are here only for backwards compatibility. You should not use these function names. Instead use the popup functions that have snake_case rather than CamelCase.
*** You should not use these function names! ***
These versions of the popup functions are here only for backwards compatibility. Instead use the popup functions that have snake_case rather than CamelCase.
<!-- <+func.Popup+> -->
<!-- <+func.PopupAnimated+> -->
@ -2636,7 +2641,6 @@ These versions of the popup functions are here only for backwards compatibility.
<!-- <+func.PopupNoButtons+> -->
<!-- <+func.PopupNoFrame+> -->
<!-- <+func.PopupNoTitlebar+> -->
<!-- <+func.PopupNoWait+> -->
<!-- <+func.PopupNonBlocking+> -->
<!-- <+func.PopupOK+> -->
<!-- <+func.PopupOKCancel+> -->
@ -2651,13 +2655,18 @@ These versions of the popup functions are here only for backwards compatibility.
## PEP8 Function Bindings
## Display Objects In a Friendly Way
These functions will return an object as a string that shows each of the object's member variables. They're nice to use if you want to print any Python object, not just PySimpleGUI ones.
<!-- <+func.obj_to_string+> -->
<!-- <+func.obj_to_string_single_obj+> -->
## The Main Program - Test Harness, Global Settings, Debug Information, Upgrade from GitHub
A convention that PySimpleGUI uses is that standalone entry points start with "main_". These calls are essentially a mini-program within the PySimpleGUI.py file.
Used to get SDK help, test the installation, get information about the versions, upgrade from GitHub.
You can call main() from your code and then access these other features such as the global settings. You can also directly call these functions.
@ -2699,6 +2708,17 @@ You can call main() from your code and then access these other features such as
<!-- <+func.theme_text_element_background_color+> -->
## Platform Checks
These are simple functions you can use that return a boolean True if sys.platform matches the platform. Saves you the trouble of importing sys and then looking up the values for sys.platform.
<!-- <+func.running_linux+> -->
<!-- <+func.running_mac+> -->
<!-- <+func.running_trinket+> -->
<!-- <+func.running_windows+> -->
## User Settings
In addition to user settings files, there is also a global PySimpleGUI settings file.
@ -2724,9 +2744,10 @@ These API calls are used to launch subprocesses.
<!-- <+func.execute_command_subprocess+> -->
<!-- <+func.execute_editor+> -->
<!-- <+func.execute_file_explorer+> -->
<!-- <+func.execute_find_callers_filename+> -->
<!-- <+func.execute_get_results+> -->
<!-- <+func.execute_py_file+> -->
<!-- <+func.execute_subprocess_still_running+> -->
## Misc
@ -2749,6 +2770,7 @@ These API calls are used to launch subprocesses.
<!-- <+func.set_global_icon+> -->
<!-- <+func.set_options+> -->
### Non PEP8 versions
<!-- <+func.SetGlobalIcon+> -->
@ -2758,9 +2780,18 @@ These API calls are used to launch subprocesses.
## Old Themes (Look and Feel) - Replaced by theme()
You should NOT use these calls. They are here for your reference should you run into them in existing code.
<!-- <+func.ChangeLookAndFeel+> -->
<!-- <+func.ListOfLookAndFeelValues+> -->
<!-- <+func.preview_all_look_and_feel_themes+> -->
<!-- <+func.list_of_look_and_feel_values+> -->
<!-- <+func.change_look_and_feel+> -->
-------------
This documentation is copyright 2021 by PySimpleGUI Inc
Republishing the copyrighted PySimpleGUI documentation and selling it are not allowed.
When in doubt, ask.