set title and subtitle imputs to send

This commit is contained in:
Fredrick W. Warren 2022-05-30 10:08:57 -07:00
parent 1ff60ed7b8
commit be6f17d2c9

View File

@ -35,11 +35,13 @@ def build_layout(title, subtitle, thumbnail):
control_col = sg.Column([ control_col = sg.Column([
[ [
sg.Frame('Title', sg.Frame('Title',
layout = [[sg.Input(title, key = '-TITLE-')]] layout = [[sg.Input(title, key = '-TITLE-',
enable_events=True)]]
)], )],
[ [
sg.Frame('subtitle', sg.Frame('subtitle',
layout = [[sg.Input(subtitle, key = '-SUBTITLE-')]] layout = [[sg.Input(subtitle, key = '-SUBTITLE-',
enable_events=True)]]
)], )],
[ [
sg.Button('Save image', key= '-SAVE-')], sg.Button('Save image', key= '-SAVE-')],