+ def __init__(self):
+ self.binding_map = {}
+
+ def set_keybindings(self, binding_map):
+ """
+ Set a new map of key bindings. This map maps method names to a
+ tuple of keyname and description.
+
+ The method name refers to a method on the selected item, or the
+ current view.
+
+ Example: { 'search_item' : ('0', 'Search item') }
+
+ """