Exemplo n.º 1
0
    def on_selection_change(self, selection, selected_tree):
        obj = TreeviewProxy.by_selection(selection).get_selected_row()

        if obj:
            self.unselect(set(('authors','editors','serials'))-set((selected_tree,)))
            
        self._filter.refilter_obj(obj() if obj else None)
Exemplo n.º 2
0
    def on_selection_change(self, selection, selected_tree):
        obj = TreeviewProxy.by_selection(selection).get_selected_row()

        if obj:
            self.unselect(
                set(('authors', 'editors', 'serials')) -
                set((selected_tree, )))

        self._filter.refilter_obj(obj() if obj else None)
Exemplo n.º 3
0
 def on_selection_user_change(self, selection):
     obj = TreeviewProxy.by_selection(selection).get_selected_row()
     self._filter.refilter_loans(obj() if obj else None)
Exemplo n.º 4
0
 def on_selection_user_change(self, selection):
     obj = TreeviewProxy.by_selection(selection).get_selected_row()
     self._filter.refilter_loans(obj() if obj else None)