From df71cef568ae9f24287fd673c91f45cec711dba2 Mon Sep 17 00:00:00 2001 From: MikeTheWatchGuy Date: Tue, 5 Mar 2019 10:54:33 -0500 Subject: [PATCH 1/2] Release 0.13.0 - Adds ability to set the multiple_instance parameter when starting Remi. --- PySimpleGUIWeb/PySimpleGUIWeb.py | 9 +++++---- PySimpleGUIWeb/readme.md | 10 ++++++++++ 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/PySimpleGUIWeb/PySimpleGUIWeb.py b/PySimpleGUIWeb/PySimpleGUIWeb.py index 5ec50d54..42521a24 100644 --- a/PySimpleGUIWeb/PySimpleGUIWeb.py +++ b/PySimpleGUIWeb/PySimpleGUIWeb.py @@ -2590,7 +2590,7 @@ class Window: alpha_channel=1, return_keyboard_events=False, use_default_focus=True, text_justification=None, no_titlebar=False, grab_anywhere=False, keep_on_top=False, resizable=True, disable_close=False, disable_minimize=False, background_image=None, - web_debug=False, web_ip='0.0.0.0', web_port=0, web_start_broswer=True, web_update_interval=.00001 ): + web_debug=False, web_ip='0.0.0.0', web_port=0, web_start_browser=True, web_update_interval=.00001, web_multiple_instance=True ): ''' :param title: @@ -2685,8 +2685,9 @@ class Window: self.web_debug = web_debug self.web_ip = web_ip self.web_port = web_port - self.web_start_broswer = web_start_broswer + self.web_start_browser = web_start_browser self.web_update_interval = web_update_interval + self.web_multiple_instance = web_multiple_instance self.MessageQueue = Queue() self.master_widget = None # type: remi.gui.VBox @@ -3168,8 +3169,8 @@ class Window: # s.start() Window.port_number += 1 - remi.start(self.MyApp, title=self.Title ,debug=self.web_debug, address=self.web_ip, port=self.web_port, - start_browser=self.web_start_broswer, update_interval=self.web_update_interval, userdata=(self,)) + remi.start(self.MyApp, title=self.Title ,debug=self.web_debug, address=self.web_ip, port=self.web_port, multiple_instance=self.web_multiple_instance, + start_browser=self.web_start_browser, update_interval=self.web_update_interval, userdata=(self,)) # remi.start(self.MyApp, title=self.Title ,debug=False, userdata=(self,), standalone=True) # standalone=True) diff --git a/PySimpleGUIWeb/readme.md b/PySimpleGUIWeb/readme.md index c3d8663c..4fac9b96 100644 --- a/PySimpleGUIWeb/readme.md +++ b/PySimpleGUIWeb/readme.md @@ -229,6 +229,16 @@ New features * Combo.Update now fully functional +## 0.13.0 PySimpleGUIWeb 5-Mar-2019 + +* Added new parameter to Window - web_multiple_instance + * Like other Window web parameters, this value is passsed Remi upon start + * The default value is TRUE (Previously I think default was False by Remi) + * Was made as a result of comment on repl.it. + + + + # Design # Author Mike B. From 0a1dabe6365d756146bfd2572d402ffe20cc1c69 Mon Sep 17 00:00:00 2001 From: MikeTheWatchGuy Date: Tue, 5 Mar 2019 11:17:01 -0500 Subject: [PATCH 2/2] Version 0.15.0 - Turned off multiple instance by default --- PySimpleGUIWeb/PySimpleGUIWeb.py | 2 +- PySimpleGUIWeb/readme.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/PySimpleGUIWeb/PySimpleGUIWeb.py b/PySimpleGUIWeb/PySimpleGUIWeb.py index 42521a24..5bdc3463 100644 --- a/PySimpleGUIWeb/PySimpleGUIWeb.py +++ b/PySimpleGUIWeb/PySimpleGUIWeb.py @@ -2590,7 +2590,7 @@ class Window: alpha_channel=1, return_keyboard_events=False, use_default_focus=True, text_justification=None, no_titlebar=False, grab_anywhere=False, keep_on_top=False, resizable=True, disable_close=False, disable_minimize=False, background_image=None, - web_debug=False, web_ip='0.0.0.0', web_port=0, web_start_browser=True, web_update_interval=.00001, web_multiple_instance=True ): + web_debug=False, web_ip='0.0.0.0', web_port=0, web_start_browser=True, web_update_interval=.00001, web_multiple_instance=False ): ''' :param title: diff --git a/PySimpleGUIWeb/readme.md b/PySimpleGUIWeb/readme.md index 4fac9b96..2e012d57 100644 --- a/PySimpleGUIWeb/readme.md +++ b/PySimpleGUIWeb/readme.md @@ -236,8 +236,9 @@ New features * The default value is TRUE (Previously I think default was False by Remi) * Was made as a result of comment on repl.it. +## 0.15.0 PySimpleGUIWeb 5-Mar-2019 - +* Made the multiple_instance parameter FALSE by default (was messing up badly with True) # Design # Author