Warnings added to help people when they missed calling Finalize
This commit is contained in:
parent
9c59d86d1c
commit
4208d9d569
2 changed files with 41 additions and 1 deletions
|
@ -5,7 +5,7 @@ layout = [
|
|||
[sg.T('Change circle color to:'), sg.ReadButton('Red'), sg.ReadButton('Blue'), sg.ReadButton('Move')]
|
||||
]
|
||||
|
||||
window = sg.Window('Graph test').Layout(layout)
|
||||
window = sg.Window('Graph test').Layout(layout).Finalize()
|
||||
|
||||
graph = window.FindElement('graph')
|
||||
circle = graph.DrawCircle((75,75), 25, fill_color='black',line_color='white')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue