From 0c24818249c53c431db57d3d6780c221c39320e4 Mon Sep 17 00:00:00 2001 From: MikeTheWatchGuy <13696193+MikeTheWatchGuy@users.noreply.github.com> Date: Sat, 23 Mar 2019 15:44:38 -0400 Subject: [PATCH 1/7] PySimpleGUIQt/readme.md updated from https://stackedit.io/ --- PySimpleGUIQt/readme.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/PySimpleGUIQt/readme.md b/PySimpleGUIQt/readme.md index 51032fc6..e664d58b 100644 --- a/PySimpleGUIQt/readme.md +++ b/PySimpleGUIQt/readme.md @@ -16,7 +16,7 @@ ![Python Version](https://img.shields.io/badge/Python-3.x-yellow.svg) -![Python Version](https://img.shields.io/badge/PySimpleGUIQt_For_Python_3.x_Version-00.23.0-orange.svg?longCache=true&style=for-the-badge) +![Python Version](https://img.shields.io/badge/PySimpleGUIQt_For_Python_3.x_Version-00.231.0-orange.svg?longCache=true&style=for-the-badge) @@ -26,7 +26,7 @@ "Qt without the ugly" - ## The Alpha Release Version 0.23.0 + ## The Alpha Release Version 0.231.0 [Announcements of Latest Developments](https://github.com/MikeTheWatchGuy/PySimpleGUI/issues/142) @@ -661,4 +661,7 @@ Dial - disable # License GNU Lesser General Public License (LGPL 3) + -# Acknowledgments \ No newline at end of file +# Acknowledgments + \ No newline at end of file From 9bf685038c1663b63b6ec11ebc01581eaa157237 Mon Sep 17 00:00:00 2001 From: MikeTheWatchGuy <13696193+MikeTheWatchGuy@users.noreply.github.com> Date: Sat, 23 Mar 2019 15:46:05 -0400 Subject: [PATCH 2/7] readme.md updated from https://stackedit.io/ --- readme.md | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/readme.md b/readme.md index f4d01ce8..2be69202 100644 --- a/readme.md +++ b/readme.md @@ -4903,6 +4903,17 @@ Emergency patch release... going out same day as previous release * OneLineProgressMeter - Can now change the text on every call if desired +# 3.26.0 PySimpleGUI 23-Mar-2019 + +* do_not_clear now defaults to TRUE!!! + * Input Element + * Multiline Element +* Enable Radio Buttons to be in different containers +* Ability to modify Autoscroll setting in Multiline.Update call +* PopupGetFolder, PopupGetFile, PopupGetText - title defaults to message if none provided +* PopupAnimated - image_source can be a filename or bytes (base64) + + ### Upcoming Make suggestions people! Future release features @@ -4966,9 +4977,10 @@ GNU Lesser General Public License (LGPL 3) + #### SORRY!! Will add these back. Lost due to file length limitation \ No newline at end of file From 381d4fd74dfec8571be130402ddf10a46cdfb95b Mon Sep 17 00:00:00 2001 From: MikeTheWatchGuy <13696193+MikeTheWatchGuy@users.noreply.github.com> Date: Sat, 23 Mar 2019 15:49:14 -0400 Subject: [PATCH 3/7] readme.md updated from https://stackedit.io/ --- readme.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/readme.md b/readme.md index 2be69202..19cfff01 100644 --- a/readme.md +++ b/readme.md @@ -33,15 +33,15 @@ -![Python Version](https://img.shields.io/badge/PySimpleGUI_For_Python_3.x_Version-3.25.0-red.svg?longCache=true&style=for-the-badge) +![Python Version](https://img.shields.io/badge/PySimpleGUI_For_Python_3.x_Version-3.26.0-red.svg?longCache=true&style=for-the-badge) -![Python Version](https://img.shields.io/badge/PySimpleGUI_For_Python_2.7_Version-1.25.0-blue.svg?longCache=true&style=for-the-badge) +![Python Version](https://img.shields.io/badge/PySimpleGUI_For_Python_2.7_Version-1.26.0-blue.svg?longCache=true&style=for-the-badge) ![Python Version](https://img.shields.io/badge/PySimpleGUIQt_Version-0.22.0-orange.svg?longCache=true&style=for-the-badge) -![Python Version](https://img.shields.io/badge/PySimpleGUIWx_version-0.3.0-orange.svg?longCache=true&style=for-the-badge) +![Python Version](https://img.shields.io/badge/PySimpleGUIWx_version-0.9.0-orange.svg?longCache=true&style=for-the-badge) -![Python Version](https://img.shields.io/badge/PySimpleGUIWeb_Version-0.10.0-orange.svg?longCache=true&style=for-the-badge) +![Python Version](https://img.shields.io/badge/PySimpleGUIWeb_Version-0.18.0-orange.svg?longCache=true&style=for-the-badge) [Announcements of Latest Developments](https://github.com/MikeTheWatchGuy/PySimpleGUI/issues/142) @@ -4977,10 +4977,10 @@ GNU Lesser General Public License (LGPL 3) + #### SORRY!! Will add these back. Lost due to file length limitation \ No newline at end of file From d30c44a3c0a287b2b7d325c58a857be5ac59e861 Mon Sep 17 00:00:00 2001 From: MikeTheWatchGuy <13696193+MikeTheWatchGuy@users.noreply.github.com> Date: Sat, 23 Mar 2019 15:50:49 -0400 Subject: [PATCH 4/7] readme.md updated from https://stackedit.io/ --- readme.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/readme.md b/readme.md index 19cfff01..dadfbe45 100644 --- a/readme.md +++ b/readme.md @@ -37,7 +37,7 @@ ![Python Version](https://img.shields.io/badge/PySimpleGUI_For_Python_2.7_Version-1.26.0-blue.svg?longCache=true&style=for-the-badge) -![Python Version](https://img.shields.io/badge/PySimpleGUIQt_Version-0.22.0-orange.svg?longCache=true&style=for-the-badge) +![Python Version](https://img.shields.io/badge/PySimpleGUIQt_Version-0.23.0-orange.svg?longCache=true&style=for-the-badge) ![Python Version](https://img.shields.io/badge/PySimpleGUIWx_version-0.9.0-orange.svg?longCache=true&style=for-the-badge) @@ -4977,10 +4977,10 @@ GNU Lesser General Public License (LGPL 3) + #### SORRY!! Will add these back. Lost due to file length limitation \ No newline at end of file From ce50062a11a9ca528053407d93a036e99ecb7e3b Mon Sep 17 00:00:00 2001 From: MikeTheWatchGuy Date: Sat, 23 Mar 2019 16:45:48 -0400 Subject: [PATCH 5/7] Release 3.26 & 1.26 --- PySimpleGUI.py | 4 ++-- PySimpleGUI27.py | 27 ++++++++++++++++++++------- 2 files changed, 22 insertions(+), 9 deletions(-) diff --git a/PySimpleGUI.py b/PySimpleGUI.py index 56dc4dac..e340fa0a 100644 --- a/PySimpleGUI.py +++ b/PySimpleGUI.py @@ -7478,7 +7478,7 @@ def PopupGetFile(message, title=None, default_path='', default_extension='', sav [InputText(default_text=default_path, size=size), browse_button], [CloseButton('Ok', size=(6, 1), bind_return_key=True), CloseButton('Cancel', size=(6, 1))]] - window = Window(title=title, icon=icon, auto_size_text=True, button_color=button_color, font=font, + window = Window(title=title or message, icon=icon, auto_size_text=True, button_color=button_color, font=font, background_color=background_color, no_titlebar=no_titlebar, grab_anywhere=grab_anywhere, keep_on_top=keep_on_top, location=location) @@ -7517,7 +7517,7 @@ def PopupGetText(message, title=None, default_text='', password_char='', size=(N [InputText(default_text=default_text, size=size, password_char=password_char)], [CloseButton('Ok', size=(5, 1), bind_return_key=True), CloseButton('Cancel', size=(5, 1))]] - window = Window(title=title, icon=icon, auto_size_text=True, button_color=button_color, no_titlebar=no_titlebar, + window = Window(title=title or message, icon=icon, auto_size_text=True, button_color=button_color, no_titlebar=no_titlebar, background_color=background_color, grab_anywhere=grab_anywhere, keep_on_top=keep_on_top, location=location) diff --git a/PySimpleGUI27.py b/PySimpleGUI27.py index 72e3fe3c..102a9efe 100644 --- a/PySimpleGUI27.py +++ b/PySimpleGUI27.py @@ -546,7 +546,7 @@ class Element(object): class InputText(Element): def __init__(self, default_text='', size=(None, None), disabled=False, password_char='', justification=None, background_color=None, text_color=None, font=None, tooltip=None, - change_submits=False, enable_events=False, do_not_clear=False, key=None, focus=False, pad=None, right_click_menu=None, visible=True): + change_submits=False, enable_events=False, do_not_clear=True, key=None, focus=False, pad=None, right_click_menu=None, visible=True): ''' InputText :param default_text: @@ -1084,7 +1084,7 @@ class Spin(Element): # ---------------------------------------------------------------------- # class Multiline(Element): def __init__(self, default_text='', enter_submits=False, disabled=False, autoscroll=False, size=(None, None), - auto_size_text=None, background_color=None, text_color=None, change_submits=False, enable_events=False,do_not_clear=False, key=None, focus=False, font=None, pad=None, tooltip=None, right_click_menu=None, visible=True): + auto_size_text=None, background_color=None, text_color=None, change_submits=False, enable_events=False,do_not_clear=True, key=None, focus=False, font=None, pad=None, tooltip=None, right_click_menu=None, visible=True): ''' Multiline :param default_text: @@ -3492,7 +3492,7 @@ class ErrorElement(Element): Stretch = ErrorElement # ------------------------------------------------------------------------- # -# Window CLASS # +# Window CLASS # # ------------------------------------------------------------------------- # class Window(object): NumOpenWindows = 0 @@ -4801,6 +4801,16 @@ else: # My crappy tkinter code starts here +""" + ) + ( + , + ___)\ + (_____) + (_______) + +""" + # ======================== TK CODE STARTS HERE ========================================= # def PackFormIntoFrame(form, containing_frame, toplevel_form): @@ -7796,7 +7806,7 @@ def PopupGetFolder(message, title=None, default_path='', no_window=False, size=( [InputText(default_text=default_path, size=size), FolderBrowse(initial_folder=initial_folder)], [CloseButton('Ok', size=(5, 1), bind_return_key=True), CloseButton('Cancel', size=(5, 1))]] - window = Window(title=title, icon=icon, auto_size_text=True, button_color=button_color, + window = Window(title=title or message, icon=icon, auto_size_text=True, button_color=button_color, background_color=background_color, font=font, no_titlebar=no_titlebar, grab_anywhere=grab_anywhere, keep_on_top=keep_on_top, location=location) @@ -7864,7 +7874,7 @@ def PopupGetFile(message, title=None, default_path='', default_extension='', sav [InputText(default_text=default_path, size=size), browse_button], [CloseButton('Ok', size=(6, 1), bind_return_key=True), CloseButton('Cancel', size=(6, 1))]] - window = Window(title=title, icon=icon, auto_size_text=True, button_color=button_color, font=font, + window = Window(title=title or message, icon=icon, auto_size_text=True, button_color=button_color, font=font, background_color=background_color, no_titlebar=no_titlebar, grab_anywhere=grab_anywhere, keep_on_top=keep_on_top, location=location) @@ -7903,7 +7913,7 @@ def PopupGetText(message, title=None, default_text='', password_char='', size=(N [InputText(default_text=default_text, size=size, password_char=password_char)], [CloseButton('Ok', size=(5, 1), bind_return_key=True), CloseButton('Cancel', size=(5, 1))]] - window = Window(title=title, icon=icon, auto_size_text=True, button_color=button_color, no_titlebar=no_titlebar, + window = Window(title=title or message, icon=icon, auto_size_text=True, button_color=button_color, no_titlebar=no_titlebar, background_color=background_color, grab_anywhere=grab_anywhere, keep_on_top=keep_on_top, location=location) @@ -7926,7 +7936,10 @@ def PopupAnimated(image_source, message=None, background_color=None, text_color= return if image_source not in Window.animated_popup_dict: - layout = [[Image(data=image_source, background_color=background_color, key='_IMAGE_',)],] + if type(image_source) is bytes: + layout = [[Image(data=image_source, background_color=background_color, key='_IMAGE_',)],] + else: + layout = [[Image(filename=image_source, background_color=background_color, key='_IMAGE_',)],] if message: layout.append([Text(message, background_color=background_color, text_color=text_color, font=font)]) From 36cb34a3adcfa362560dc386635c2d1e129ccbe5 Mon Sep 17 00:00:00 2001 From: MikeTheWatchGuy Date: Sat, 23 Mar 2019 16:55:22 -0400 Subject: [PATCH 6/7] Release 0.24.0 --- PySimpleGUIQt/readme.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/PySimpleGUIQt/readme.md b/PySimpleGUIQt/readme.md index e664d58b..aa8969ed 100644 --- a/PySimpleGUIQt/readme.md +++ b/PySimpleGUIQt/readme.md @@ -16,7 +16,7 @@ ![Python Version](https://img.shields.io/badge/Python-3.x-yellow.svg) -![Python Version](https://img.shields.io/badge/PySimpleGUIQt_For_Python_3.x_Version-00.231.0-orange.svg?longCache=true&style=for-the-badge) +![Python Version](https://img.shields.io/badge/PySimpleGUIQt_For_Python_3.x_Version-00.24.0-orange.svg?longCache=true&style=for-the-badge) @@ -26,7 +26,7 @@ "Qt without the ugly" - ## The Alpha Release Version 0.231.0 + ## The Alpha Release Version 0.23.0 [Announcements of Latest Developments](https://github.com/MikeTheWatchGuy/PySimpleGUI/issues/142) @@ -650,6 +650,12 @@ Dial - disable * main for PySimpleGUIQt.py gets a nice test harness that shows lots of Elements +## 0.24.0 PySimpleGUIQt + +* do_not_clear defaults to TRUE! for Input and MultilineInput/Output +* Key events for tables (unsure what's actually implemented) +* Tree icons can now be bytes in addition to filename! (More Base64 support) + # Design @@ -661,7 +667,4 @@ Dial - disable # License GNU Lesser General Public License (LGPL 3) + -# Acknowledgments - \ No newline at end of file +# Acknowledgments \ No newline at end of file From 920cecd897b7f0c3b5001831b66dbad64907624d Mon Sep 17 00:00:00 2001 From: MikeTheWatchGuy Date: Sat, 23 Mar 2019 17:04:48 -0400 Subject: [PATCH 7/7] Release 0.19.0 --- PySimpleGUIWeb/PySimpleGUIWeb.py | 2 +- PySimpleGUIWeb/readme.md | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/PySimpleGUIWeb/PySimpleGUIWeb.py b/PySimpleGUIWeb/PySimpleGUIWeb.py index b0ee8ab0..a688e4ed 100644 --- a/PySimpleGUIWeb/PySimpleGUIWeb.py +++ b/PySimpleGUIWeb/PySimpleGUIWeb.py @@ -2622,7 +2622,7 @@ class Window: stdout_location = None port_number = 6900 active_windows = [ ] # type: Window [] - App = None + App = None # type: remi.App def __init__(self, title, default_element_size=DEFAULT_ELEMENT_SIZE, default_button_element_size=(None, None), auto_size_text=None, auto_size_buttons=None, location=(None, None), size=(None, None), diff --git a/PySimpleGUIWeb/readme.md b/PySimpleGUIWeb/readme.md index 9a1e322c..e69e111a 100644 --- a/PySimpleGUIWeb/readme.md +++ b/PySimpleGUIWeb/readme.md @@ -8,7 +8,7 @@ ![Python Version](https://img.shields.io/badge/Python-3.x-yellow.svg) -![Python Version](https://img.shields.io/badge/PySimpleGUIWeb_-0.18.0-orange.svg?longCache=true&style=for-the-badge) +![Python Version](https://img.shields.io/badge/PySimpleGUIWeb_-0.19.0-orange.svg?longCache=true&style=for-the-badge) @@ -269,6 +269,12 @@ New features * Hotfix for bug that causes Popups / secondary windows to crash * Table gets `starting_row_num` parameter +## 0.19.0 23-Mar-2019 PySimpleGUIWeb + +* do_not_clear defaults to TRUE! for Input and Multiline Input/output +* a few type hints + + # Design