mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-07-18 14:06:07 -04:00
Focus is handled in Gtk, accelerators and some menu items work
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user