Commit 1c7e4b60 by BellCodeEditor

save project

parent 1492b818
Showing with 6 additions and 0 deletions
......@@ -36,6 +36,7 @@ class Note(): # 便签、笔记
font=("宋体", 11), anchor=W, fill='#FF9900')
self.rb1=tkinter.Radiobutton(self.canvas,image=self.box,value=self.val,variable=self.v)
self.rb1.place(x=-30,y=self.y-20)
self.val+=1
self.y += 30
def get_info(self):
......@@ -45,9 +46,14 @@ class Note(): # 便签、笔记
alist.append(info)
self.canvas.create_text(40,self.y,text=info,font=("宋体",11),
anchor=W, fill='#FF9900')
self.rb1=tkinter.Radiobutton(self.canvas,image=self.box,value=self.val,variable=self.v)
self.rb1.place(x=-30,y=self.y-20)
self.val+=1
self.y += 30
app = Note()
app.show()
app.root.mainloop()
......
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