Rename SecureInbox to SecureMail, since it is used for not only ingoing but also...
[easyotp.git] / EasyOTP-gui.py
blob18a19155cc3766453febd22bfa56544a46ec133c
1 #!/bin/env python
2 # Created:20080603
3 # By Jeff Connelly
5 # GUI for EasyOTP TODO
7 from Tkinter import *
8 import cotp
9 import MailServers
11 class App(object):
12 def __init__(self, master):
13 frame = Frame(master)
14 frame.pack(expand=True, fill=BOTH)
16 self.read = Button(frame, text="Read", command=self.read)
17 self.read.pack(side=LEFT)
19 self.write = Button(frame, text="Write", command=self.write)
20 self.write.pack(side=LEFT)
22 self.quit = Button(frame, text="Quit", command=frame.quit)
23 self.quit.pack(side=LEFT)
25 def read(self):
26 print "read"
28 def write(self):
29 print "write"
31 root = Tk()
32 app = App(root)
33 root.title("EasyOTP")
34 root.mainloop()