(self)
Set zoombox bindings with the keyboard.
Set zoombox bindings with the keyboard.
Set zoombox bindings with the keyboard .
def set_zoombox_keyboard(self):
        """Set zoombox bindings with the keyboard."""
        # Idem but with CTRL + left button mouse 
        self.set('LeftClickMove', 'ZoomBox',
                    key_modifier='Control',
                    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_keyboard ( self ) : # Idem but with CTRL + left button mouse  self . set ( 'LeftClickMove' , 'ZoomBox' , key_modifier = 'Control' , param_getter = lambda p : ( p [ "mouse_press_position" ] [ 0 ] , p [ "mouse_press_position" ] [ 1 ] , p [ "mouse_position" ] [ 0 ] , p [ "mouse_position" ] [ 1 ] ) )