Commit cb54c444 by BellCodeEditor

auto save

parent a27e8ce5
Showing with 3 additions and 0 deletions
...@@ -33,8 +33,11 @@ class Note(): # 便签、笔记 ...@@ -33,8 +33,11 @@ class Note(): # 便签、笔记
self.canvas.create_text(40, self.y, text=info, self.canvas.create_text(40, self.y, text=info,
font=("宋体", 11), anchor=W, fill='#FF9900') font=("宋体", 11), anchor=W, fill='#FF9900')
self.select=tkinter.Rediobutton(self.canvas,image=self.box,value=self.val,variable=self.y) self.select=tkinter.Rediobutton(self.canvas,image=self.box,value=self.val,variable=self.y)
self.select.place(x=0,y=self.y)
self.val+=1
self.y += 30 self.y += 30
def get_info(self): def get_info(self):
info = self.ent.get() info = self.ent.get()
self.ent.delete("0", END) self.ent.delete("0", END)
......
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