Commit 1975d0fa by BellCodeEditor

save project

parent 936d54d3
Showing with 12 additions and 4 deletions
for info in alist:
\ No newline at end of file
info = self.ent.get()
if info !='':
alist.append(info)
self.canvas.create_text(40,self.y,text=info,)
self.y += 30
\ No newline at end of file
......@@ -29,8 +29,13 @@ class Note(): # 便签、笔记
for info in alist:
self.canvas.create_text(40,self.y,text=info,font=('宋体',11),anchor=W,fill='#FF9900')
self.y += 30
info = self.ent.get()
if info !='':
alist.append(info)
self.canvas.create_text(40,self.y,text=info,font=('宋体',11),anchor=W,fill='#FF9900')
self.y += 30
def get_info(self):
pass
self.ent.delete('0',END)
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