I have just started working with the PySimpleGUI framework with the Tkinter port and I don't understand how an image can be inserted as a background for a window in a program.
There is no argument or parameter associated with adding a background image for the Window component.
My code:
import PySimpleGUI as sg
layout1 = [[sg.Text("What File Type do you want to generate?")],
[sg.Checkbox("PowerPoint Presentation", auto_size_text=True)],
[sg.Checkbox("PDF", auto_size_text=True)]]
window = sg.Window("Demo", layout1)
while True:
event, values = window.read()
if event == sg.WIN_CLOSED:
break
window.close()