Update with PEP8 read call.
This commit is contained in:
parent
79e02c5726
commit
2cfd2f19b1
|
@ -6,13 +6,13 @@ import imwatchingyou
|
|||
This enables you to have a live debugger / REPL in a running PySimpleGUIQt program
|
||||
"""
|
||||
layout = [[sg.Text('My PySimpleGUIQt layout')],
|
||||
[sg.Button('OK'), sg.Button('Debugger'), sg.B('Popout')]]
|
||||
[sg.B('OK'), sg.B('Debugger'), sg.B('Popout')]]
|
||||
|
||||
window = sg.Window('My window', layout)
|
||||
|
||||
counter = 0 # something to see updating in the popout window
|
||||
while True:
|
||||
event, values = window.Read(timeout=100)
|
||||
event, values = window.read(timeout=100)
|
||||
if event is None:
|
||||
break
|
||||
if event == 'Debugger':
|
||||
|
|
Loading…
Reference in New Issue