Commit e231fcc2 by BellCodeEditor

auto save

parent 942c3e92
Showing with 3 additions and 6 deletions
...@@ -24,12 +24,8 @@ class Note(): # 便签、笔记 ...@@ -24,12 +24,8 @@ class Note(): # 便签、笔记
self.but.place(x=240, y=305) self.but.place(x=240, y=305)
def get_info(self): def get_info(self):
fo=self.ent.get() fo=
self.ent.delete('0',END)
if fo != '':
alist.append(fo)
self.canvas.create_text(40,self.y,text=fo,font=('宋体',14),anchor=W,fill='#FF9900')
self+=30
app = Note() app = Note()
app.show() app.show()
app.root.mainloop() app.root.mainloop()
\ No newline at end of file
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