code: def register_view(self, view):
          
          self.setup_columns()
  
          # connects tv messages
          tv = self.view['tv_categories']
          sel = tv.get_selection()
          sel.connect('changed', self.on_selection_changed)
  
          # connects other messages
          return
docs: Creates treeview columns, and connect missing signals