This leaves the keybinding code alone, for now.
Update the gui after a change in model or some user interaction.
Should be filled by subclasses.
"""
- pass
+ appuifw.app.menu=self.get_menu_entries()
def get_menu_entries(self):
""" Returns a list of menu entries to display. Will be
index = 0
self.set_bindings_for_selection(index)
- def refresh(self):
- appuifw.app.menu=self.get_menu_entries()
-
def set_index(self,index):
if index > len(self.widgets):
index = len(self.widgets)