From c8cd6ae3486eb74c997434cb06b97d02d3cdb86c Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Sat, 1 Mar 2025 15:11:16 +0800
Subject: [PATCH] save project

---
 client.py | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/client.py b/client.py
index 093ba2f..cf6d4ed 100644
--- a/client.py
+++ b/client.py
@@ -10,7 +10,7 @@ class Note():       # 便签、笔记
         self.root.title("我的便签-待办事项")
         self.root.resizable(width=False, height=False)  
         self.bg_img = tkinter.PhotoImage(file="bg.png")
-
+        
     def show(self):     # 布置窗口界面
         # 输入框
         self.canvas = tkinter.Canvas(self.root,width=300, height=340,
@@ -24,10 +24,17 @@ class Note():       # 便签、笔记
         self.but = tkinter.Button(self.root,text='添加',font=('宋体',12),
                    bg="lightblue", width=5, command=self.get_info)
         self.but.place(x=240, y=305)
-
-    def get_info(self):
-        pass
-
+        self.y =20
+        for info in alist:
+            self.canvas.create_text(40,self.y,text=info,info=("宋体",11
+                                      anchor=W,fill='#FF990')     
+   def get_info(self):
+       info = self.ent.get()
+       if : info != "":
+            alist.append(info)
+            self.canvas.create_text(40,self.y,text=info,info,
+                        font=("宋体",11),anchor="w",fill='#FF9900')
+            self.y +=30              
 app = Note()
 app.show()
 app.root.mainloop()
\ No newline at end of file
--
libgit2 0.25.0