removed useless TODO comments and set a window title
parent
77f0aa9d87
commit
194dac1632
5
main.py
5
main.py
|
@ -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()
|
||||||
|
|
||||||
|
|
Reference in New Issue