class_docstr: Two dimentional raster of callbacks for mouse events.
docstr: Set mouse handler for a region.
docstr_tok: ["Set","mouse","handler","for","a","region","."]
code: def set_mouse_handler_for_range(
      self, x_min, x_max, y_min, y_max, handler=None
  ):
      """
      Set mouse handler for a region.
      """
      for x, y in product(range(x_min, x_max), range(y_min, y_max)):
          self.mouse_handlers[x, y] = handler
  
imports: from __future__ import unicode_literals
  from itertools import product
  from collections import defaultdict
label_desc: Use image node_id 2 for calling the MouseHandlers obj's underlying member method code with example usage: obj.set_mouse_handler_for_range(x_min, x_max, y_min, y_max, handler) without return types