def enable_mouse_edition_mode(self):
        """Perform setups to enable mouse edition mode."""
        ### assign specific behaviours

        self.update = self.update_behind
        self.draw = self.mouse_edition_draw
        self.handle_input = self.mouse_edition_control

        self.mouse_motion_routine = self.switch_on_reasonable_motion

        ### disable the mouse visibility
        SERVICES_NS.set_mouse_visibility(False)

        ### position the mouse at the center of the screen
        SERVICES_NS.set_mouse_pos(SCREEN_RECT.center)

        ### define the influence of the state of the
        ### shift key in how the value displayed is
        ### incremented/decremented;
        ###
        ### this also has the desired side-effects of:
        ###
        ### 1) setting the origin of the mouse dragging
        ###    movement to the center of the screen
        ### 2) setting the current value displayed in the
        ###    widget as the base value which will be
        ###    incremented/decremented whenever the mouse
        ###    moves

        self.change_shift_influence(SERVICES_NS.get_pressed_mod_keys() & KMOD_SHIFT)
Perform setups to enable mouse edition mode.
nodezator/widget/intfloatentry/modes.py