def show_popup(self):
popup = Tk()
popup.wm_title("Msg from %s" % host)
popup.geometry("480x320+300+300")
label = Label(popup, text=msg)
label.pack(side="top", fill="x", pady=10)
B1 = Button(popup, text="Okay", command = popup.destroy)
B1.pack()
popup.mainloop()
评论列表
文章目录