def lose_focus(self):
        """Assign behaviours and focus loop manager."""
        ### assign behaviours

        self.draw = self.draw_collapsed
        self.on_mouse_release = self.get_focus

        ### switch to the stored loop holder (if
        ### None, the default loop holder used is
        ### the WindowManager instance from the module
        ### winman.main)
        raise SwitchLoopException(self.loop_holder)
Assign behaviours and focus loop manager.
nodezator/widget/optionmenu/op.py