(self)
Set zooming bindings with the mouse.
Set zooming bindings with the mouse.
Set zooming bindings with the mouse .
def set_zooming_mouse(self):
        """Set zooming bindings with the mouse."""
        # Zooming: right button mouse
        self.set('RightClickMove', 'Zoom',
                    param_getter=lambda p: (p["mouse_position_diff"][0]*2.5,
                                            p["mouse_press_position"][0],
                                            p["mouse_position_diff"][1]*2.5,
                                            p["mouse_press_position"][1]))
def set_zooming_mouse ( self ) : # Zooming: right button mouse self . set ( 'RightClickMove' , 'Zoom' , param_getter = lambda p : ( p [ "mouse_position_diff" ] [ 0 ] * 2.5 , p [ "mouse_press_position" ] [ 0 ] , p [ "mouse_position_diff" ] [ 1 ] * 2.5 , p [ "mouse_press_position" ] [ 1 ] ) )