Logo Search packages:      
Sourcecode: accerciser version File versions

def accerciser::accessible_treeview::AccessibleTreeView::_refreshChildren (   self,
  iter 
) [private]

Remove all of a given node's children from the model.

@param iter: The parent node.
@type iter: L{gtk.TreeIter}

Definition at line 569 of file accessible_treeview.py.

00569                                   :
    '''
    Remove all of a given node's children from the model.

    @param iter: The parent node.
    @type iter: L{gtk.TreeIter}
    '''
    if not iter:
      self._refreshTopLevel()
      return
    child_iter = self.model.iter_children(iter)
    while child_iter:
      if not self.model.remove(child_iter):
        break
    acc = self.model[iter][COL_ACC]
    self.model[iter][COL_CHILDCOUNT] = acc.childCount
    self.model[iter][COL_FILLED] = False

  def refreshSelected(self):


Generated by  Doxygen 1.6.0   Back to index