Commit 1d1706bb by BellCodeEditor

save project

parent 3266f687
Showing with 8 additions and 3 deletions
import tkinter
from tkinter import*
alist = ["星期六练习唱跳rap", "星期天联系篮球",
"11月45日给HOMO过生日","送妈妈圣诞礼物"]
alist = ["星期六练习唱跳rap", "星期天故意找茬",
"11月45日给HOMO过生日","送给你小行星"]
class Note(): # 便签、笔记
def __init__(self):
......@@ -28,7 +28,12 @@ class Note(): # 便签、笔记
self.canvas.create_text(40,self.y,text = info,font=("宋体",11),anchor = W,fill='#FF9900')
self.y += 30
def get_info(self):
pass
info=self.ent.get()
if info!="":
self.ent.delete('0',END)
alist.append(info)
self.canvas.create_text(40,self.y,text=info,font=("宋体",11),anchor = W,fill="#FF9900")
self.y += 30
app = Note()
app.show()
......
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