Python
xvii
Scale .......................................................................................................................................................... 373
Scrollbar .................................................................................................................................................... 378
Text ........................................................................................................................................................... 381
TopLevel .................................................................................................................................................... 387
SpinBox ..................................................................................................................................................... 390
PanelWindow ............................................................................................................................................ 393
LabelFrame ............................................................................................................................................... 396
tkMessageBox ........................................................................................................................................... 398
Standard Attributes ................................................................................................................................... 400
Dimensions ............................................................................................................................................... 400
Colors ........................................................................................................................................................ 401
Fonts ......................................................................................................................................................... 402
Anchors ..................................................................................................................................................... 403
Relief styles ............................................................................................................................................... 404
Bitmaps ..................................................................................................................................................... 406
Cursors ...................................................................................................................................................... 407
Geometry Management ............................................................................................................................ 408
Python Tkinter pack() Method .................................................................................................................. 409
Python Tkinter grid() Method .................................................................................................................... 410
Python Tkinter place() Method ................................................................................................................. 411
27. PYTHON ─ FURTHER EXTENSIONS ......................................................................................... 413
Pre-Requisites for Writing Extensions ....................................................................................................... 413
First Look at a Python Extension ............................................................................................................... 413
The Header File Python.h .......................................................................................................................... 413
The C Functions ......................................................................................................................................... 414