1 |
#!/usr/bin/env python |
#!/usr/bin/env python |
2 |
""" |
# This file is part of Circus |
3 |
This file is part of Circus |
# |
4 |
|
# This software is distributed in the hope that it will be useful, |
5 |
This software is distributed in the hope that it will be useful, |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
6 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
7 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
# GNU General Public License for more details. |
8 |
GNU General Public License for more details. |
# |
9 |
|
# You should have received a copy of the GNU General Public License |
10 |
You should have received a copy of the GNU General Public License |
# along with the program; if not, write to the Free Software |
11 |
along with the program; if not, write to the Free Software |
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # |
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
|
""" |
|
12 |
|
|
13 |
__author__ = "Brian Skahan <bskahan@etria.org>" |
__author__ = "Brian Skahan <bskahan@etria.org>" |
14 |
__date__ = "Wed Nov 06 2002" |
__date__ = "Wed Nov 06 2002" |
15 |
__version__ = "$Revision$" |
__version__ = "$Revision$" |
16 |
# $Source$ |
# $Id$ |
17 |
|
|
18 |
import os |
import os |
19 |
import string |
import string |
59 |
# the son of the bride of the night of the living menus.py |
# the son of the bride of the night of the living menus.py |
60 |
class Menu: |
class Menu: |
61 |
|
|
62 |
my_events = X.ButtonPress |
my_events = [X.ButtonPress, X.ButtonRelease] |
63 |
menu_entries = {} |
menu_entries = {} |
64 |
|
|
65 |
def run_program(prog, *args): |
def run_program(prog, *args): |