Changed ReadNonBlocking to Finalize for forms needing to do an Update prior to Read

This commit is contained in:
MikeTheWatchGuy 2018-09-14 12:17:19 -04:00
parent 4f43f7bcaf
commit 21bbb7fca8
12 changed files with 99 additions and 34 deletions

View file

@ -16,7 +16,7 @@ def main():
# create the form and show it without the plot
form = sg.FlexForm('Demo Application - Embedding Matplotlib In PySimpleGUI')
form.Layout(layout)
form.ReadNonBlocking()
form.Finalize()
canvas = canvas_elem.TKCanvas