Focus is handled in Gtk, accelerators and some menu items work

This commit is contained in:
2015-04-04 21:25:52 -06:00
parent d8581f47d2
commit 48e918adb0
11 changed files with 92 additions and 38 deletions

View File

@@ -29,3 +29,7 @@ class basePanel(Gtk.VBox):
self.list.select_item(self.list.get_count()-1)
else:
self.list.select_item(0)
def set_focus_function(self, f):
tree_selection = self.list.list.get_selection()
tree_selection.connect("changed", f)