C.3. Example

The list.py
example program that will print out the changes of the selection of a gtklist,
and lets you "arrest" list items into a prison by selecting them with the
rightmost mouse button. Figure C.1 illustrates the program in action: