/[circus]/circus/modules/CircusGtkMenu/gtkmenu.py
ViewVC logotype

Diff of /circus/modules/CircusGtkMenu/gtkmenu.py

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

revision 1.3 by bskahan, Sun Nov 17 10:18:24 2002 UTC revision 1.4 by bskahan, Sun Nov 17 19:12:30 2002 UTC
# Line 25  class MyModule(module.Module): Line 25  class MyModule(module.Module):
25      def load(self):      def load(self):
26          pass          pass
27            
28        root_menu = GtkMenu
29        
30        
31    class GtkMenu(Menu):
32      # till i deal with how to talk to Menus we'll just use this static one to      # till i deal with how to talk to Menus we'll just use this static one to
33      # play with      # play with
34      root_menu = {0:['Term','xterm'],1:['Vim','gvim']}      #root_menu = {0:['Term','xterm'],1:['Vim','gvim']}
       
35    
36  #def menu_button1(button):  #def menu_button1(button):
37  #    _run_program(menu_item1)  #    _run_program(menu_item1)

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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