Major demo refresh.. switched everything to new function names, new design patterns
Out with the old, in with the new!!
This commit is contained in:
parent
2a06683383
commit
a1f4c60271
68 changed files with 706 additions and 1863 deletions
|
@ -38,15 +38,14 @@ layout = [
|
|||
[sg.Text('Your Folder', size=(15, 1), auto_size_text=False, justification='right'),
|
||||
sg.InputText('Default Folder'), sg.FolderBrowse()],
|
||||
[sg.Submit(tooltip='Click to submit this form'), sg.Cancel()]
|
||||
]
|
||||
]
|
||||
|
||||
window = sg.Window('Everything bagel', default_element_size=(40, 1), grab_anywhere=False).Layout(layout)
|
||||
|
||||
form = sg.FlexForm('Everything bagel', default_element_size=(40, 1), grab_anywhere=False).Layout(layout)
|
||||
|
||||
button, values = form.Read()
|
||||
button, values = window.Read()
|
||||
|
||||
sg.Popup('Title',
|
||||
'The results of the form.',
|
||||
'The results of the window.',
|
||||
'The button clicked was "{}"'.format(button),
|
||||
'The values are', values)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue