forked from Silias-Public/Sonnendach
Event EM_DELETE_WINDOWS hinzugefügt.
This commit is contained in:
1 parent
34c3023cf9
commit
4b11d0e4de
1 file changed
+1
@@ -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