Commit 43793333 by BellCodeEditor

save project

parent 248fe332
Showing with 6 additions and 1 deletions
...@@ -40,6 +40,12 @@ class Note(): # 便签、笔记 ...@@ -40,6 +40,12 @@ class Note(): # 便签、笔记
self.val += 1 self.val += 1
self.y += 30 self.y += 30
def remove(self):
num=self.v.get()
alist.pop(num)
self.canvas.destroy()
app.show()
def get_info(self): def get_info(self):
info = self.ent.get() info = self.ent.get()
self.ent.delete("0", END) self.ent.delete("0", END)
...@@ -53,7 +59,6 @@ class Note(): # 便签、笔记 ...@@ -53,7 +59,6 @@ class Note(): # 便签、笔记
self.select.place(x=-20,y=self.y-10) self.select.place(x=-20,y=self.y-10)
self.val += 1 self.val += 1
self.y += 30 self.y += 30
self.y += 30
app = Note() app = Note()
......
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