def cancel(self):
        """Cancel selecting/creating path.

        Works by clearing the path selection, which causes no
        path to be returned.

        The 'cancelled' attribute is also set to True, to indicate the
        user cancelled providing path(s).

        The 'running' attribute is also set to False, which
        triggers the exit of the file manager loop which
        you can find on the select_paths method.
        """
        self.path_selection.clear()
        self.cancelled = True
        self.running = False
Cancel selecting/creating path.

        Works by clearing the path selection, which causes no
        path to be returned.

        The 'cancelled' attribute is also set to True, to indicate the
        user cancelled providing path(s).

        The 'running' attribute is also set to False, which
        triggers the exit of the file manager loop which
        you can find on the select_paths method.
        
nodezator/fileman/op.py