docs: def on_button_release(self, event):
          """Select or deselect rubber banded groups of items
  
           The selection of elements is prior and never items are selected or deselected at the same time.
           """
          self.queue_draw(self.view)
          x0, y0, x1, y1 = self.x0, self.y0, self.x1, self.y1
          rectangle = (min(x0, x1), min(y0, y1), abs(x1 - x0), abs(y1 - y0))
          selected_items = self.view.get_items_in_rectangle(rectangle, intersect=False)
          self.view.handle_new_selection(selected_items)
  
          return True