Commit ce8f01af by BellCodeEditor

save project

parent 9e1ad4b8
Showing with 10 additions and 2 deletions
...@@ -25,10 +25,18 @@ class Note(): # 便签、笔记 ...@@ -25,10 +25,18 @@ class Note(): # 便签、笔记
# self.canvas. # self.canvas.
self.y=20 self.y=20
for into in alist: for into in alist:
self.canvas.create_text(40,self.y,text=(into),anchor=W,fill="red") self.canvas.create_text(40,self.y,text=(into),font=('宋体',11),anchor="w",fill="red")
self.y+=30 self.y+=30
def get_info(self): def get_info(self):
pass v=self.ent.get()
for into in alist:
if into !="":
alist.append(v)
self.canvas.create_text(40,self.y,text=(into),font=('宋体',11),anchor="w",fill="red")
self.y+=30
self.ent.delete("0",END)
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