forked from Silias-Public/Sonnendach
Event EM_DELETE_WINDOWS hinzugefügt.
This commit is contained in:
@@ -248,6 +248,7 @@ def command_exit():
|
|||||||
|
|
||||||
|
|
||||||
root = tkinter.Tk()
|
root = tkinter.Tk()
|
||||||
|
root.protocol("WM_DELETE_WINDOW", command_exit)
|
||||||
root.wm_title("Sonnendach")
|
root.wm_title("Sonnendach")
|
||||||
mainText = tkinter.Label(root, text=outputtext, width=80)
|
mainText = tkinter.Label(root, text=outputtext, width=80)
|
||||||
mainText.grid(row=1, column=1, padx=10, pady=3)
|
mainText.grid(row=1, column=1, padx=10, pady=3)
|
||||||
|
|||||||
Reference in New Issue
Block a user