Ver originaldef acciones(self,widget,data): #... stdout,stderr = c.communicate() self.buffer.set_text(stdout) def __init__(self): #... self.buffer = gtk.TextBuffer() #... self.buffer.set_text("") #...