Eduardo Ferro wrote:
I tried your program and it work fine... there is just a sintax error:
> while linea != '':
> print '"%s"', % linea
Here it must be ====> print "%s" % linea
>
> self.lstLineas.append(linea)
> self.gtkText.insert_defaults(linea)
> linea = self.fich.read()
I don't think that is your problem, but the remaining portion is all
ok for me. Perhaps it has an error in the way as you insert the
content in file 'menu.txt'. I use 'cat >> menu.txt', then I write the
lines and when hit ENTER the line display successfully in the GtkText
widget.
Hasta,
Ricardo.
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk