Skip to content

MarkDBlackwell/tutorial-tkdocs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tutorial-tkdocs

Using Ruby, I followed this tutorial from tkdocs.com. It gives a beautiful introduction to the Tk graphics library.

Taking all of the tutorial examples (in Ruby code), I rewrote them into a style I would use in production. (However, each example still completely fits within a single file.) They are arranged by tutorial chapter.

In the rewrite, I used Hungarian notation for all of the object instances derived from Tk classes. This was in order to distinguish the Tk objects clearly from any other objects or identifiers. For a table presenting the prefixes, see other/hungarian-notation.txt.

Tested using Tk 8.5.12 and Ruby 2.2.5, on Windows 7.

See also

The Tcl/Tk 8.5 Commands documentation and the Ruby Tk documentation.

The Ruby developer code examples for using Tk.

My repository try-tk (which is obsolete).

Copyright (c) 2019 Mark D. Blackwell.

License: MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published