The Tcl Playground is provided using CloudTk. Tcl/Tk version 9 is used on this page. To display a Tcl/Tk version 8 Playground click here .
Perhaps start with a simple command like
button .b -text "Press me" -command { puts Ouch! } pack .b