Discovered OLD code! Was using ReadButton!
This commit is contained in:
parent
1d4ca6696f
commit
e5e1021516
16 changed files with 95 additions and 61 deletions
|
@ -7,7 +7,7 @@ else:
|
|||
|
||||
layout = [
|
||||
[sg.Canvas(size=(150, 150), background_color='red', key='canvas')],
|
||||
[sg.T('Change circle color to:'), sg.ReadButton('Red'), sg.ReadButton('Blue')]
|
||||
[sg.T('Change circle color to:'), sg.Button('Red'), sg.Button('Blue')]
|
||||
]
|
||||
|
||||
window = sg.Window('Canvas test').Layout(layout).Finalize()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue