+ custom file name
This commit is contained in:
@@ -53,7 +53,8 @@ class Gui:
|
|||||||
],
|
],
|
||||||
[
|
[
|
||||||
sg.Text('Output name'),
|
sg.Text('Output name'),
|
||||||
sg.In(size=(25, 1), enable_events=True),
|
sg.In(size=(25, 1), enable_events=True, key='-OUTPUT NAME-'),
|
||||||
|
sg.Button('Done', key='-SET OUTPUT NAME-'),
|
||||||
],
|
],
|
||||||
|
|
||||||
]
|
]
|
||||||
@@ -115,6 +116,10 @@ class Gui:
|
|||||||
logging.debug(('Exit GUI'))
|
logging.debug(('Exit GUI'))
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
||||||
|
if event == '-SET OUTPUT NAME-':
|
||||||
|
output_name = values['-OUTPUT NAME-']
|
||||||
|
|
||||||
if event == '-CREDITS-':
|
if event == '-CREDITS-':
|
||||||
sg.popup(
|
sg.popup(
|
||||||
'This is made by Plexx, Weckyy and Oleting. Used PySimpleGUI and Pillow', title='Credits')
|
'This is made by Plexx, Weckyy and Oleting. Used PySimpleGUI and Pillow', title='Credits')
|
||||||
|
|||||||
Reference in New Issue
Block a user