(self)
Set zoombox bindings with the mouse.
Set zoombox bindings with the mouse.
Set zoombox bindings with the mouse .
def set_zoombox_mouse(self):
        """Set zoombox bindings with the mouse."""
        # Zooming: zoombox (drag and drop)
        self.set('MiddleClickMove', 'ZoomBox',
                    param_getter=lambda p: (p["mouse_press_position"][0],
                                            p["mouse_press_position"][1],
                                            p["mouse_position"][0],
                                            p["mouse_position"][1]))
def set_zoombox_mouse ( self ) : # Zooming: zoombox (drag and drop) self . set ( 'MiddleClickMove' , 'ZoomBox' , param_getter = lambda p : ( p [ "mouse_press_position" ] [ 0 ] , p [ "mouse_press_position" ] [ 1 ] , p [ "mouse_position" ] [ 0 ] , p [ "mouse_position" ] [ 1 ] ) )