A lot of libraries implement Tk, so you can pretty much write Tk in ruby, python, perl, etc.
The following link includes example in pure Tk, Python, Ruby & Perl. http://www.tkdocs.com/tutorial/firstexample.html
The following link includes example in pure Tk, Python, Ruby & Perl. http://www.tkdocs.com/tutorial/firstexample.html