removed useless TODO comments and set a window title

master
BodgeMaster 2022-02-14 14:05:17 +01:00
parent 77f0aa9d87
commit 194dac1632
1 changed files with 3 additions and 2 deletions

View File

@ -103,11 +103,12 @@ else:
dialog_interaction_handler = Window_Interaction_Handler() dialog_interaction_handler = Window_Interaction_Handler()
dialog = tk.Tk() dialog = tk.Tk()
dialog.title("No configuration found")
ttk.Label(dialog, text="No configuration found!").pack() ttk.Label(dialog, text="No configuration found!").pack()
buttons_frame = tk.Frame(dialog) buttons_frame = tk.Frame(dialog)
buttons_frame.pack() buttons_frame.pack()
ttk.Button(buttons_frame, text="Create", command=lambda: dialog_interaction_handler.interact("create", True, additional_action=dialog.destroy)).grid(column=0, row=0) #TODO: add functionality ttk.Button(buttons_frame, text="Create", command=lambda: dialog_interaction_handler.interact("create", True, additional_action=dialog.destroy)).grid(column=0, row=0)
ttk.Button(buttons_frame, text="Quit", command=lambda: dialog_interaction_handler.interact("create", False, additional_action=dialog.destroy)).grid(column=1, row=0) #TODO: add functionality ttk.Button(buttons_frame, text="Quit", command=lambda: dialog_interaction_handler.interact("create", False, additional_action=dialog.destroy)).grid(column=1, row=0)
dialog.resizable(0,0) dialog.resizable(0,0)
dialog.mainloop() dialog.mainloop()