Commit bc1aee5d by BellCodeEditor

save project

parent 1648e156
Showing with 5 additions and 1 deletions
......@@ -10,7 +10,7 @@ class Note():
self.root.geometry('300x340+1000+200')
self.root.title("我的便签-待办事项")
self.root.resizable(width=True, height=False) # True可以拉伸,False不能拉伸
self.bg_img = tkinter.PhotoImage(file="bg.png")
self.bg_img = tkinter.PhotoImage(file="smyyp.png")
def show(self):
# 画布
......@@ -27,6 +27,10 @@ class Note():
bg="lightblue", width=5,command=self.get_info)
self.but.place(x=240, y=305)
sely.y=20
for info in alist:
self.canvas.create_text(40,self.y,text=info,font=("宋体",11),anchor=W,fill="#FF9900")
self.y+=30
def get_info(self):
pass
......
smy.png

459 KB

smyyp.png

118 KB

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