Commit d86dd9b3 by BellCodeEditor

save project

parent 0946ed96
Showing with 5 additions and 1 deletions
...@@ -37,6 +37,11 @@ class Note(): # 便签、笔记 ...@@ -37,6 +37,11 @@ class Note(): # 便签、笔记
self.select.place(x=0,y=self.y) self.select.place(x=0,y=self.y)
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()
...@@ -49,7 +54,6 @@ class Note(): # 便签、笔记 ...@@ -49,7 +54,6 @@ class Note(): # 便签、笔记
value=self.val,variable=self.v) value=self.val,variable=self.v)
self.select.place(x=0,y=self.y) self.select.place(x=0,y=self.y)
self.val+=1 self.val+=1
self.y += 30 self.y += 30
......
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