Logo Search packages:      
Sourcecode: samba-gtk version File versions  Download package

def sambagtk::pygwregedit::RegEditWindow::get_iter_for_value (   self,
  value 
)
This function takes a value and gets the iterator for that value in the gtk.TreeStore.

Returns an iterator or None

Definition at line 1190 of file pygwregedit.py.

                                       :
        """This function takes a value and gets the iterator for that value in the gtk.TreeStore.
        
        Returns an iterator or None"""
        if not self.connected():
            return
        
        model = self.values_tree_view.get_model()
        iter = model.get_iter_first()
        while iter != None:
            current_value = model.get_value(iter, 4)
            if (current_value.name == value.name):
                return iter
            iter = model.iter_next(iter)
        return None
    

Generated by  Doxygen 1.6.0   Back to index