Commit c4ea7be9 by BellCodeEditor

save project

parent 861edce2
Showing with 7 additions and 1 deletions
......@@ -40,6 +40,12 @@ class Note(): # 便签、笔记
self.val+=1
self.y +=30
def remove(self):
num=self.get()
alist.pop(num)
self.canvas.destroy()
app.show()
def get_info(self):
info = self.ent.get()
self.ent.delete("0", END)
......@@ -49,7 +55,7 @@ class Note(): # 便签、笔记
anchor=W, fill='#FF9900')
self.select=tkinter.Radiobutton(self.y,canvas=image=self.box,
value=self.val,carible=self.v,witdth=25,height=15,
broter.width=0)
broter.width=0,comand=self.remove())
self.selecet.place(x=-20,y=self.y-10)
self.val+=1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment