| 1 | # -*-mode: python; fill-column: 75; tab-width: 8; coding: iso-latin-1-unix -*-
|
|---|
| 2 | #
|
|---|
| 3 | # $Id: PopMenu.py 36560 2004-07-18 06:16:08Z tim_one $
|
|---|
| 4 | #
|
|---|
| 5 | # Tix Demostration Program
|
|---|
| 6 | #
|
|---|
| 7 | # This sample program is structured in such a way so that it can be
|
|---|
| 8 | # executed from the Tix demo program "tixwidgets.py": it must have a
|
|---|
| 9 | # procedure called "RunSample". It should also have the "if" statment
|
|---|
| 10 | # at the end of this file so that it can be run as a standalone
|
|---|
| 11 | # program using tixwish.
|
|---|
| 12 |
|
|---|
| 13 | # This file demonstrates the use of the tixPopupMenu widget.
|
|---|
| 14 | #
|
|---|
| 15 | import Tix
|
|---|
| 16 |
|
|---|
| 17 | def RunSample(w):
|
|---|
|
|---|