以 Tk 打造圖形使用者介面 (Graphical User Interfaces)
****************************************************

Tk/Tcl 長期以來一直是 Python 不可或缺的一部分。它提供了一個強大且獨立
於平台的視窗工具包，可供使用 "tkinter" 套件及其擴充套件 "tkinter.ttk"
模組的 Python 開發者使用。

"tkinter" 套件是 Tcl/Tk 之上的一個輕薄物件導向層。要使用 "tkinter"，你
不需要編寫 Tcl 程式，但會需要查閱 Tk 文件和部份 Tcl 文件。"tkinter" 是
一組將 Tk 小工具 (widget) 實作為 Python 類別的包裝器。

"tkinter" 的主要優點是速度快，而且通常與 Python 捆綁 (bundle) 在一起。
儘管其標準文件不是很完整，但還是有些不錯的材料，包括：參考資料、教學、
書籍等。"tkinter" 曾因其過時的外觀而眾所皆知，但這在 Tk 8.5 中得到了極
大的改進。此外，還有許多其他你可能會感興趣的 GUI 函式庫。Python wiki
列出了幾個替代的 GUI 框架和工具。

* "tkinter" --- Tcl/Tk 的 Python 介面

  * 架構

  * Tkinter modules

  * Tkinter life preserver

    * A Hello World program

    * Important Tk concepts

    * Understanding how Tkinter wraps Tcl/Tk

    * 我該如何...？哪個選項可以...？

    * Navigating the Tcl/Tk reference manual

  * 執行緒模型

  * Handy reference

    * Setting options

    * Geometry management

    * Coupling widget variables

    * The window manager

    * Tk option data types

    * Bindings and events

    * The index parameter

    * 圖片

  * Reference

    * Base and mixin classes

    * Toplevel widgets

    * Widget classes

    * Variable classes

    * Image classes

    * Other classes

    * Module-level functions

    * File handlers

    * Constants

* "tkinter.colorchooser" --- 顏色選擇對話框

* "tkinter.font" --- Tkinter 字型包裝器

* Tkinter dialogs

  * "tkinter.simpledialog" --- 標準 Tkinter 輸入對話框

  * "tkinter.filedialog" --- 檔案選擇對話框

    * Native load/save dialogs

  * "tkinter.commondialog" --- 對話框視窗範本

  * "tkinter.dialog" --- Classic Tk dialog boxes

* "tkinter.messagebox" --- Tkinter 訊息提示

* "tkinter.scrolledtext" --- Scrolled text widget

* "tkinter.dnd" --- 拖放支援

* "tkinter.ttk" --- Tk 主題化小工具

  * 使用 Ttk

  * Ttk widgets

  * Widget

    * Standard options

    * Scrollable widget options

    * Label options

    * Compatibility options

    * Widget states

    * ttk.Widget

  * Combobox

    * 選項

    * Virtual events

    * ttk.Combobox

  * Spinbox

    * 選項

    * Virtual events

    * ttk.Spinbox

  * Notebook

    * 選項

    * Tab options

    * Tab identifiers

    * Virtual events

    * ttk.Notebook

  * Progressbar

    * 選項

    * ttk.Progressbar

  * Separator

    * 選項

  * Sizegrip

    * Platform-specific notes

    * Bugs

  * Treeview

    * 選項

    * Item options

    * Tag options

    * Column identifiers

    * Virtual events

    * ttk.Treeview

  * Ttk styling

    * Layouts

  * Additional widgets

* IDLE --- Python 編輯器與 shell

  * 目錄

    * File menu (Shell and Editor)

    * Edit menu (Shell and Editor)

    * Format menu (Editor window only)

    * Run menu (Editor window only)

    * Shell menu (Shell window only)

    * Debug menu (Shell window only)

    * Options menu (Shell and Editor)

    * Window menu (Shell and Editor)

    * Help menu (Shell and Editor)

    * Context menus

  * Editing and Navigation

    * Editor windows

    * Key bindings

    * Automatic indentation

    * Search and Replace

    * Completions

    * Calltips

    * Format block

    * Code Context

    * Shell window

    * Text colors

  * Startup and Code Execution

    * 命令列用法

    * Startup failure

    * Running user code

    * User output in Shell

    * Developing tkinter applications

    * Running without a subprocess

  * Help and Preferences

    * Help sources

    * 設定偏好

    * macOS 上的 IDLE

    * Extensions

  * idlelib --- implementation of IDLE application

* "turtle" --- 龜圖學 (Turtle graphics)

  * 教學

    * 啟動一個烏龜環境

    * 基本繪圖

      * Pen control

      * The turtle's position

    * Making algorithmic patterns

  * Reference

    * Turtle methods and functions

      * Move and draw

      * Tell Turtle's state

      * Settings for measurement

      * Pen control

        * Drawing state

        * Color control

        * Filling

        * More drawing control

      * Turtle state

        * Visibility

        * Appearance

      * Using events

      * Special Turtle methods

      * Compound shapes

    * Screen methods and functions

      * Window control

      * Animation control

      * Using screen events

      * Input methods

      * Settings and special methods

      * Screen-only methods

    * Public classes

    * Exceptions

  * How-to guides

    * Automatically begin and end filling

    * Use the "turtle" module namespace

    * Use turtle graphics in a script

    * Use object-oriented turtle graphics

    * How to use help

    * Translation of docstrings into different languages

    * How to configure Screen and Turtles

  * 解釋

  * "turtledemo" --- Demo scripts
