TkDocs
Information you need to build high-quality Tk user interfaces.
This tutorial will quickly get you up and running with the latest Tk from Tcl, Ruby, Perl or Python (coming soon) on Mac, Windows or Linux.
It provides all the essentials about core Tk concepts, the various widgets, layout, events and more that you need for your application.
- Introduction
- Installing Tk
- Installing Tk on Mac OS X
- Installing Tk on Windows
- Installing Tk on Linux
- The Obligatory First Program
- A First (Real) Example
- Tk Concepts
- Basic Widgets
- The Grid Geometry Manager
- Columns and Rows
- Spanning Multiple Cells
- Layout within the Cell
- Handling Resize
- Padding
- Additional Grid Features
- More Widgets
- Menus
- Windows and Dialogs
- Organizing Complex Interfaces
- Fonts, Colors, Images
- Canvas
- Text
- The Basics
- Modifying the Text in Code
- Formatting with Tags
- Events and Bindings
- Selecting Text
- Marks
- Images and Widgets
- Even More
- Tree
- Adding Items to the Tree
- Rearranging Items
- Displaying Information for each Item
- Item Appearance and Events
- Customizing the Display
- Styles and Themes