22 |
from CircusMenus import * |
from CircusMenus import * |
23 |
|
|
24 |
class MyModule(module.Module): |
class MyModule(module.Module): |
|
|
|
25 |
def load(self): |
def load(self): |
26 |
pass |
pass |
27 |
|
|
28 |
|
# till i deal with how to talk to Menus we'll just use this static one to |
29 |
|
# play with |
30 |
|
root_menu = {0:['Term','xterm'],1:['Vim','gvim']} |
31 |
|
|
32 |
|
|
|
#menu_item1 = "gvim" |
|
|
# |
|
33 |
#def menu_button1(button): |
#def menu_button1(button): |
34 |
# _run_program(menu_item1) |
# _run_program(menu_item1) |
35 |
# root_menu.destroy() |
# root_menu.destroy() |