Commit 8ad78bdf by BellCodeEditor

save project

parent e5c6638c
Showing with 3 additions and 3 deletions
...@@ -13,9 +13,9 @@ class Note(): # 便签、笔记 ...@@ -13,9 +13,9 @@ class Note(): # 便签、笔记
self.bg_img=tkinter.PhotoImage(file="pg.png") self.bg_img=tkinter.PhotoImage(file="pg.png")
def show(self): # 布置窗口界面 def show(self): # 布置窗口界面
slf.canvas=tkinter.Canvas(self.root,width=300,height=340,bg="lightgreen") self.canvas=tkinter.Canvas(self.root,width=300,height=340,bg="lightgreen")
slf.canvas.create_image(0,0,self.image=bg_img,anchor=NW) self.canvas.create_image(0,0,self.image=bg_img,anchor=NW)
slf.canvas.place(x=0,y=0) self.canvas.place(x=0,y=0)
# 输入框 # 输入框
self.ent = tkinter.Entry(self.root, show=None, self.ent = tkinter.Entry(self.root, show=None,
font=('宋体', 13), bg="snow", width=25) font=('宋体', 13), bg="snow", width=25)
......
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