next up previous contents index
Next: Entry widgets Up: XF and Tcl/Tk Previous: XF and Tcl/Tk

Text widgets

For text widgets, the following commands are important. The first command deletes the current contents of the widget. The second command inserts the string ``Insert this text'' into the widget, and the last command retrieves the current contents of the widget.

 
		widgetCommand delete 1.0 end

widgetCommand insert 1.0 Insert this text

widgetCommand get 1.0 end



Harry Beker
Thu Feb 29 18:06:38 MET 1996