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 insert 1.0 Insert this text
widgetCommand get 1.0 end
widgetCommand delete 1.0 end