Merge pull request #1201 from PySimpleGUI/Dev-latest

Dev latest
This commit is contained in:
MikeTheWatchGuy 2019-03-05 11:26:36 -05:00 committed by GitHub
commit e5a4d255be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 4 deletions

View File

@ -2590,7 +2590,7 @@ class Window:
alpha_channel=1, return_keyboard_events=False, use_default_focus=True, text_justification=None, 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, no_titlebar=False, grab_anywhere=False, keep_on_top=False, resizable=True, disable_close=False,
disable_minimize=False, background_image=None, 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=False ):
''' '''
:param title: :param title:
@ -2685,8 +2685,9 @@ class Window:
self.web_debug = web_debug self.web_debug = web_debug
self.web_ip = web_ip self.web_ip = web_ip
self.web_port = web_port 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_update_interval = web_update_interval
self.web_multiple_instance = web_multiple_instance
self.MessageQueue = Queue() self.MessageQueue = Queue()
self.master_widget = None # type: remi.gui.VBox self.master_widget = None # type: remi.gui.VBox
@ -3168,8 +3169,8 @@ class Window:
# s.start() # s.start()
Window.port_number += 1 Window.port_number += 1
remi.start(self.MyApp, title=self.Title ,debug=self.web_debug, address=self.web_ip, port=self.web_port, 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_broswer, update_interval=self.web_update_interval, userdata=(self,)) 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) # remi.start(self.MyApp, title=self.Title ,debug=False, userdata=(self,), standalone=True) # standalone=True)

View File

@ -229,6 +229,17 @@ New features
* Combo.Update now fully functional * 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.
## 0.15.0 PySimpleGUIWeb 5-Mar-2019
* Made the multiple_instance parameter FALSE by default (was messing up badly with True)
# Design # Design
# Author # Author
Mike B. Mike B.