Tutoriel complet en une page
Next: Intro
Intro
The Obligatory First Program
A First (Real) Example
Design
Code
Step-by-Step Walkthrough
What's Missing
Tk Concepts
Widgets
Geometry Management
Event Handling
Basic Widgets
Frame
Label
Button
Checkbutton
Radiobutton
Entry
Combobox
The Grid Geometry Manager
Columns and Rows
Spanning Multiple Cells
Layout within the Cell
Handling Resize
Padding
Additional Grid Features
Nested Layouts
More Widgets
Listbox
Scrollbar
Text
Scale
Spinbox
Event Loop
Blocking the Event Loop
One Step at a Time
Asynchronous I/O
Threads or Processes
Nested Event Processing
Menus
Menubars
Contextual Menus
Windows and Dialogs
Creating and Destroying Windows
Window Behavior and Styles
Dialog Windows
Organizing Complex Interfaces
Separator
Label Frames
Paned Windows
Notebook
Fonts, Colors, Images
Fonts
Colors
Images
Canvas
Creating Items
Event Bindings
Tags
Scrolling
Text
The Basics
Modifying the Text in Code
Formatting with Tags
Events and Bindings
Selecting Text
Marks
Images and Widgets
Even More
Treeview
Adding Items to the Tree
Rearranging Items
Displaying Information for each Item
Item Appearance and Events
Customizing the Display
Styles and Themes
Using Existing Themes
Using Styles
What's Inside a Style?
Manipulating Styles