Commit 0b445d94 by BellCodeEditor

save project

parent 34ddcbbc
Showing with 4 additions and 2 deletions
...@@ -5,7 +5,7 @@ alist = ["星期六下午打篮球", "星期天下午和小美一起看电影", ...@@ -5,7 +5,7 @@ alist = ["星期六下午打篮球", "星期天下午和小美一起看电影",
class Note(): # 便签、笔记 class Note(): # 便签、笔记
def __init__(self): def __init__(self):
tkinter.PhotoImage(fill='bg.png') #tkinter.PhotoImage(fill='bg.png')
self.root = tkinter.Tk() self.root = tkinter.Tk()
self.root.geometry('300x340+1000+200') self.root.geometry('300x340+1000+200')
self.root.title("我的便签-待办事项") self.root.title("我的便签-待办事项")
...@@ -22,7 +22,8 @@ class Note(): # 便签、笔记 ...@@ -22,7 +22,8 @@ class Note(): # 便签、笔记
self.but.place(x=240, y=305) self.but.place(x=240, y=305)
def get_info(self): def get_info(self):
pass pass
app = Note() app = Note()
app.show() app.show()
root.create_text(self.root,text='星期六下午打篮球')
\ No newline at end of file
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