Release 3.12.0 & 1.12.0
This commit is contained in:
parent
42c5499687
commit
f60137c4b2
83 changed files with 2030 additions and 1118 deletions
|
@ -20,10 +20,10 @@ else:
|
|||
|
||||
def PopupDropDown(title, text, values):
|
||||
window = sg.Window(title).Layout([[sg.Text(text)],
|
||||
[sg.DropDown(values, key='_drop')],
|
||||
[sg.DropDown(values, key='_DROP_')],
|
||||
[sg.OK(), sg.Cancel()]])
|
||||
event, values = window.Read()
|
||||
return None if event != 'OK' else values['_drop']
|
||||
return None if event != 'OK' else values['_DROP_']
|
||||
|
||||
|
||||
# ----------------------- Calling your PopupDropDown function -----------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue