]>
vault307.fbx.one Git - mu_code.git/blob - toDoBox.py
2 from tkinter
import messagebox
8 my_entry
.delete(0, "end")
10 messagebox
.showwarning("warning","please enter some task.")
16 ws
.geometry('500x450+500+200')
17 ws
.title('PythonGuides')
18 ws
.config(bg
='#223441')
19 ws
.resizable(width
=True,height
=True)
32 selectbackground
='#a6a6a6',
35 lb
.pack(side
=LEFT
,fill
=BOTH
)
38 for item
in task_list
:
42 sb
.pack(side
=RIGHT
,fill
=BOTH
)
44 lb
.config(yscrollcommand
=sb
.set)
45 sb
.config(command
=lb
.yview
)
50 my_entry
.pack(pady
=20)
52 button_frame
=Frame(ws
)
53 button_frame
.pack(pady
=20)
63 addTask_btn
.pack(fill
=BOTH
,expand
=True, side
=LEFT
)
65 delTask_btn
=Button(button_frame
, text
='Delete Task',
71 delTask_btn
.pack(fill
=BOTH
,expand
=True,side
=LEFT
)