예제 #1
0
 def __init__(self, parent=None):
   tk.Frame.__init__(self, master=parent, borderwidth=0)
   Publisher.__init__(self)
   #
   self.parent = parent
   #
   self.console = tk.Text(self, width=5, height=12, relief=tk.FLAT,
                          state=tk.DISABLED,
                          font=Font(family='Helvetica', size=8))
   self.console.pack(side=tk.BOTTOM, expand=1, fill=tk.BOTH)
예제 #2
0
 def __init__(self):
   Publisher.__init__(self)