/[circus]/circus/modules/menus/menus.py
ViewVC logotype

Diff of /circus/modules/menus/menus.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by bskahan, Fri Nov 15 04:19:52 2002 UTC revision 1.7 by bskahan, Sun Nov 17 03:36:36 2002 UTC
# Line 1  Line 1 
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
# Line 61  from Xlib import X Line 59  from Xlib import X
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):

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26