|
from tkinter import *
top = Tk()
top.title("考核实况记录表")
top.geometry('300x100')
def open_msg_box():
pass
def open_err_box():
pass
#添加按钮1
first = Button(top, text="开始录制", fg="tomato", command=open_msg_box)
first.pack()
#添加按钮2
second = Button(top, text="停止录制", fg="tomato", command=open_err_box)
second.pack()
top.mainloop() |
|