Merge branch 'master' into Dev-latest

This commit is contained in:
PySimpleGUI 2019-10-23 16:12:18 -04:00 committed by GitHub
commit 0451468460
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 74 additions and 34 deletions

View file

@ -21,8 +21,7 @@ graph = window['-GRAPH-']
# -------------- Magic code to integrate PyGame with tkinter -------
embed = graph.TKCanvas
os.environ['SDL_WINDOWID'] = str(embed.winfo_id())
# change this to 'x11' to make it work on Linux
os.environ['SDL_VIDEODRIVER'] = 'windib'
os.environ['SDL_VIDEODRIVER'] = 'windib' # change this to 'x11' to make it work on Linux
# ----------------------------- PyGame Code -----------------------------