以 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 模組

  * Tkinter 應急指南

    * 一個 Hello World 程式

    * 重要的 Tk 概念

    * 了解 Tkinter 如何包裝 Tcl/Tk

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

    * 瀏覽 Tcl/Tk 參考手冊

  * 執行緒模型

  * 實用參考

    * 設定選項

    * Packer 佈局管理器

    * Packer 選項

    * 耦合元件變數

    * 視窗管理器

    * Tk 選項資料型別

    * 繫結與事件

    * index 參數

    * 圖片

  * 檔案處理常式

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

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

* Tkinter 對話框

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

  * "tkinter.filedialog" --- File selection dialogs

    * Native Load/Save Dialogs

  * "tkinter.commondialog" --- Dialog window templates

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

* "tkinter.scrolledtext" --- 捲動文字小工具

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

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

  * 使用 Ttk

  * Ttk Widgets

  * Widget

    * 標準選項

    * Scrollable Widget Options

    * Label Options

    * 相容性選項

    * Widget States

    * ttk.Widget

  * Combobox

    * 選項

    * Virtual events

    * ttk.Combobox

  * Spinbox

    * 選項

    * Virtual events

    * ttk.Spinbox

  * Notebook

    * 選項

    * Tab Options

    * Tab Identifiers

    * 虛擬事件

    * ttk.Notebook

  * Progressbar

    * 選項

    * ttk.Progressbar

  * Separator

    * 選項

  * Sizegrip

    * Platform-specific notes

    * Bugs

  * Treeview

    * 選項

    * Item Options

    * Tag Options

    * Column Identifiers

    * 虛擬事件

    * ttk.Treeview

  * Ttk Styling

    * Layouts

* 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

    * Command-line usage

    * 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)

  * 介紹

  * Get started

  * 教學

    * 啟動一個烏龜環境

    * 基本繪圖

      * Pen control

      * The turtle's position

    * Making algorithmic patterns

  * How to...

    * Get started as quickly as possible

    * Use the "turtle" module namespace

    * Use turtle graphics in a script

    * Use object-oriented turtle graphics

  * Turtle graphics reference

    * Turtle methods

    * Methods of TurtleScreen/Screen

  * Methods of RawTurtle/Turtle and corresponding functions

    * Turtle motion

    * 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

  * Methods of TurtleScreen/Screen and corresponding functions

    * Window control

    * Animation control

    * Using screen events

    * Input methods

    * Settings and special methods

    * Methods specific to Screen, not inherited from TurtleScreen

  * Public classes

  * 解釋

  * Help and configuration

    * How to use help

    * Translation of docstrings into different languages

    * How to configure Screen and Turtles

  * "turtledemo" --- Demo scripts

  * Changes since Python 2.6

  * Changes since Python 3.0
