Merge pull request #393 from MikeTheWatchGuy/Dev-latest

3.8.5 RELEASE
This commit is contained in:
MikeTheWatchGuy 2018-09-30 21:49:44 -04:00 committed by GitHub
commit f5faf646cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 29 additions and 19 deletions

View File

@ -1591,8 +1591,6 @@ class TabGroup(Element):
super().__del__() super().__del__()
# ---------------------------------------------------------------------- # # ---------------------------------------------------------------------- #
# Slider # # Slider #
# ---------------------------------------------------------------------- # # ---------------------------------------------------------------------- #
@ -2012,7 +2010,6 @@ class Menu(Element):
super().__del__() super().__del__()
# ---------------------------------------------------------------------- # # ---------------------------------------------------------------------- #
# Table # # Table #
# ---------------------------------------------------------------------- # # ---------------------------------------------------------------------- #
@ -2042,8 +2039,6 @@ class Table(Element):
super().__del__() super().__del__()
# ---------------------------------------------------------------------- # # ---------------------------------------------------------------------- #
# Error Element # # Error Element #
# ---------------------------------------------------------------------- # # ---------------------------------------------------------------------- #
@ -2051,8 +2046,8 @@ class ErrorElement(Element):
def __init__(self, key=None): def __init__(self, key=None):
self.Key = key self.Key = key
super().__init__(ELEM_TYPE_ERROR, key=key)
super().__init__(ELEM_TYPE_ERROR, key=key)
return return
def Update(self, *args, **kwargs): def Update(self, *args, **kwargs):
@ -2061,7 +2056,7 @@ class ErrorElement(Element):
'Bad key = {}'.format(self.Key), 'Bad key = {}'.format(self.Key),
'Your bad line of code may resemble this:', 'Your bad line of code may resemble this:',
'window.FindElement("{}")'.format(self.Key)) 'window.FindElement("{}")'.format(self.Key))
return return self
def MenuItemChosenCallback(self, item_chosen): def MenuItemChosenCallback(self, item_chosen):
@ -2075,9 +2070,6 @@ class ErrorElement(Element):
# ------------------------------------------------------------------------- # # ------------------------------------------------------------------------- #
# Window CLASS # # Window CLASS #
# ------------------------------------------------------------------------- # # ------------------------------------------------------------------------- #
@ -2276,15 +2268,17 @@ class Window:
def Refresh(self): def Refresh(self):
if self.TKrootDestroyed: if self.TKrootDestroyed:
return return self
try: try:
rc = self.TKroot.update() rc = self.TKroot.update()
except: except:
pass pass
return self
def Fill(self, values_dict): def Fill(self, values_dict):
FillFormWithValues(self, values_dict) FillFormWithValues(self, values_dict)
return self
def FindElement(self, key): def FindElement(self, key):

View File

@ -20,7 +20,7 @@
## Now supports both Python 2.7 & 3 ## Now supports both Python 2.7 & 3
![Python Version](https://img.shields.io/badge/PySimpleGUI_For_Python_3_Version-3.8.3-red.svg?longCache=true&style=for-the-badge) ![Python Version](https://img.shields.io/badge/PySimpleGUI_For_Python_3_Version-3.8.5-red.svg?longCache=true&style=for-the-badge)
![Python Version](https://img.shields.io/badge/PySimpleGUI_For_Python_2.7_Version-1.0.4-blue.svg?longCache=true&style=for-the-badge) ![Python Version](https://img.shields.io/badge/PySimpleGUI_For_Python_2.7_Version-1.0.4-blue.svg?longCache=true&style=for-the-badge)
@ -34,6 +34,9 @@
[Latest Demos and Master Branch on GitHub](https://github.com/MikeTheWatchGuy/PySimpleGUI) [Latest Demos and Master Branch on GitHub](https://github.com/MikeTheWatchGuy/PySimpleGUI)
[Docs in PDF Format](https://github.com/MikeTheWatchGuy/PySimpleGUI/tree/master/docs)
Super-simple GUI to use... Powerfully customizable. Super-simple GUI to use... Powerfully customizable.
Home of the 1-line custom GUI and 1-line progress meter Home of the 1-line custom GUI and 1-line progress meter
@ -1090,6 +1093,8 @@ Windows with no titlebar rely on the grab anywhere option to be enabled or else
Windows without a titlebar can be used to easily create a floating launcher. Windows without a titlebar can be used to easily create a floating launcher.
Linux users! Note that this setting has side effects for some of the other Elements. Multi-line input doesn't work at all, for example So, use with caution.
![floating launcher](https://user-images.githubusercontent.com/13696193/45258246-71bafb80-b382-11e8-9f5e-79421e6c00bb.jpg) ![floating launcher](https://user-images.githubusercontent.com/13696193/45258246-71bafb80-b382-11e8-9f5e-79421e6c00bb.jpg)
@ -2796,6 +2801,7 @@ A MikeTheWatchGuy production... entirely responsible for this code.... unless it
| 03.06.00 | Sept 23, 2018 - Goodbye FlexForm, hello Window | 03.06.00 | Sept 23, 2018 - Goodbye FlexForm, hello Window
| 03.08.00 | Sept 25, 2018 - Tab and TabGroup Elements\ | 03.08.00 | Sept 25, 2018 - Tab and TabGroup Elements\
| 01.01.00 for 2.7 | Sept 25, 2018 - First release for 2.7 | 01.01.00 for 2.7 | Sept 25, 2018 - First release for 2.7
| 03.08.04 | Sept 30, 2017 - See release notes
### Release Notes ### Release Notes
@ -2912,12 +2918,14 @@ It's official. There is a 2.7 version of PySimpleGUI!
* Keyboard shortcuts for menu items. Can hold ALT key to select items in men * Keyboard shortcuts for menu items. Can hold ALT key to select items in men
* Removed old-style Tabs - Risky change because it hit fundamental window packing and creation. Will also break any old code using this style tab (sorry folks this is how progress happens) * Removed old-style Tabs - Risky change because it hit fundamental window packing and creation. Will also break any old code using this style tab (sorry folks this is how progress happens)
#### 3.8.3 #### 3.8.5
* Fix for Menus. * Fix for Menus.
* Fixed tabled colors. Now they work * Fixed table colors. Now they work
* Fixed returning keys for tabs * Fixed returning keys for tabs
* * Window Hide / UnHide methods
* Changed all Popups to remove context manager
* Error checking for Graphing objects and for Element Updates
### Upcoming ### Upcoming
Make suggestions people! Future release features Make suggestions people! Future release features

View File

@ -20,7 +20,7 @@
## Now supports both Python 2.7 & 3 ## Now supports both Python 2.7 & 3
![Python Version](https://img.shields.io/badge/PySimpleGUI_For_Python_3_Version-3.8.3-red.svg?longCache=true&style=for-the-badge) ![Python Version](https://img.shields.io/badge/PySimpleGUI_For_Python_3_Version-3.8.5-red.svg?longCache=true&style=for-the-badge)
![Python Version](https://img.shields.io/badge/PySimpleGUI_For_Python_2.7_Version-1.0.4-blue.svg?longCache=true&style=for-the-badge) ![Python Version](https://img.shields.io/badge/PySimpleGUI_For_Python_2.7_Version-1.0.4-blue.svg?longCache=true&style=for-the-badge)
@ -34,6 +34,9 @@
[Latest Demos and Master Branch on GitHub](https://github.com/MikeTheWatchGuy/PySimpleGUI) [Latest Demos and Master Branch on GitHub](https://github.com/MikeTheWatchGuy/PySimpleGUI)
[Docs in PDF Format](https://github.com/MikeTheWatchGuy/PySimpleGUI/tree/master/docs)
Super-simple GUI to use... Powerfully customizable. Super-simple GUI to use... Powerfully customizable.
Home of the 1-line custom GUI and 1-line progress meter Home of the 1-line custom GUI and 1-line progress meter
@ -1090,6 +1093,8 @@ Windows with no titlebar rely on the grab anywhere option to be enabled or else
Windows without a titlebar can be used to easily create a floating launcher. Windows without a titlebar can be used to easily create a floating launcher.
Linux users! Note that this setting has side effects for some of the other Elements. Multi-line input doesn't work at all, for example So, use with caution.
![floating launcher](https://user-images.githubusercontent.com/13696193/45258246-71bafb80-b382-11e8-9f5e-79421e6c00bb.jpg) ![floating launcher](https://user-images.githubusercontent.com/13696193/45258246-71bafb80-b382-11e8-9f5e-79421e6c00bb.jpg)
@ -2796,6 +2801,7 @@ A MikeTheWatchGuy production... entirely responsible for this code.... unless it
| 03.06.00 | Sept 23, 2018 - Goodbye FlexForm, hello Window | 03.06.00 | Sept 23, 2018 - Goodbye FlexForm, hello Window
| 03.08.00 | Sept 25, 2018 - Tab and TabGroup Elements\ | 03.08.00 | Sept 25, 2018 - Tab and TabGroup Elements\
| 01.01.00 for 2.7 | Sept 25, 2018 - First release for 2.7 | 01.01.00 for 2.7 | Sept 25, 2018 - First release for 2.7
| 03.08.04 | Sept 30, 2017 - See release notes
### Release Notes ### Release Notes
@ -2912,12 +2918,14 @@ It's official. There is a 2.7 version of PySimpleGUI!
* Keyboard shortcuts for menu items. Can hold ALT key to select items in men * Keyboard shortcuts for menu items. Can hold ALT key to select items in men
* Removed old-style Tabs - Risky change because it hit fundamental window packing and creation. Will also break any old code using this style tab (sorry folks this is how progress happens) * Removed old-style Tabs - Risky change because it hit fundamental window packing and creation. Will also break any old code using this style tab (sorry folks this is how progress happens)
#### 3.8.3 #### 3.8.5
* Fix for Menus. * Fix for Menus.
* Fixed tabled colors. Now they work * Fixed table colors. Now they work
* Fixed returning keys for tabs * Fixed returning keys for tabs
* * Window Hide / UnHide methods
* Changed all Popups to remove context manager
* Error checking for Graphing objects and for Element Updates
### Upcoming ### Upcoming
Make suggestions people! Future release features Make suggestions people! Future release features