Logo Search packages:      
Sourcecode: lfm version File versions  Download package

def lfm::actions::Tree::__get_curpos (   self  )  [private]

get position of current dir

Definition at line 1709 of file actions.py.

01709                           :
        """get position of current dir"""
        for i in range(len(self.tree)):
            if self.path == self.tree[i][2]:
                return i
            return -1

    def regenerate_tree(self, newpos):

Generated by  Doxygen 1.6.0   Back to index