[cells-devel] Celtk: Text widget API woes
Frank Goenninger
fgoenninger at prion.de
Wed May 31 05:27:26 UTC 2006
Hi all:
Just a heads up on the behaviour of the text widget:
Currently setting the contents of the text widget is done by setting
the model value of the widget's model. This causes two steps to be
triggered as Tcl commands:
1. Erase text widget to empty display
2. Set new text and display this text
Now, if one is reading file contents to be display to the widget by
using consequtive calls to read-line and setting each line as the new
text widget content only the last line will be displayed, of course.
And if this happens to be an empty line then just nothing will appear
on the text widget.
In case you want to dig in deeper on that subject, well, we're here...
Frank
More information about the cells-devel
mailing list