Here are links to pages in the Tcl'ers Wiki which give Tcl/Tk code examples. See also Tk syntax help - Widgets in the initial Tk package - Tcl examples
Text widget
Canvas widget
Others
Arts and crafts of Tcl-Tk programming - Tk Gems