Tutorial

This tutorial will quickly get you up and running with the latest Tk from Python, Tcl, Ruby, and Perl on macOS, 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.

  1. Introduction
  • Installing Tk
  • A First (Real) Example
  • Tk Concepts
  • Basic Widgets
  • The Grid Geometry Manager
  • More Widgets
  • Event Loop
  • Menus
  • Windows and Dialogs
  • Organizing Complex Interfaces
  • Fonts, Colors, Images
  • Canvas
  • Text
  • Treeview
  • Styles and Themes
  • Custom Styles and Themes
  • Case Study: IDLE Modernization