Commit e3833a6d by BellCodeEditor

auto save

parent f337a2cd
Showing with 2 additions and 8 deletions
......@@ -22,15 +22,9 @@ class Note(): # 便签、笔记
y=20
def get_info(self):
for info in alist:
self.canvas.create_text(40,self,text=info,font=('宋体',11),anchor=W,fill='#cc99090')
self.y+=30
self.canvas.create_text(40,y,text=info,font=('宋体',11),anchor=W,fill='#cc99090')
y+=30
def get_info(self):
info=self.ent.get()
if info!=0:
alist.append(info)
self.canvas.create_text(40,self,text=info,font=('宋体',11),anchor=W,fill='#cc99090')
self.y+=30
self.ent.delete("0",END)
pass
app = Note()
app.show()
......
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