Discovered OLD code! Was using ReadButton!

This commit is contained in:
PySimpleGUI 2019-09-20 16:59:15 -04:00
parent 1d4ca6696f
commit e5e1021516
16 changed files with 95 additions and 61 deletions

View file

@ -6,7 +6,7 @@ else:
import PySimpleGUI27 as sg
layout = [[sg.Graph(canvas_size=(400, 400), graph_bottom_left=(0,0), graph_top_right=(400, 400), background_color='red', key='graph')],
[sg.T('Change circle color to:'), sg.ReadButton('Red'), sg.ReadButton('Blue'), sg.ReadButton('Move')]]
[sg.T('Change circle color to:'), sg.Button('Red'), sg.Button('Blue'), sg.Button('Move')]]
window = sg.Window('Graph test').Layout(layout).Finalize()