Next / Previous / Contents / Shipman's homepage

4. scrolledlisttest: A small test driver

Here is a small, complete Tkinter application that exercises the functions of the ScrolledList widget. This is what it looks like:

We start out with the usual prologue: a comment pointing back at this documentation. We import the Tkinter module, then we import the module under test: ScrolledList.

#!/usr/bin/env python
# scrolledlisttest: Test driver for ScrolledList
# Do not edit this file directly.  It is mechanically extracted
# from the documentation:

from Tkinter import *
import scrolledlist