The Tcl Playground is provided using CloudTk. To display in full browser window click here .
Perhaps start with a simple command like
button .b -text "Press me" -command { puts Ouch! } pack .b