Logo Search packages:      
Sourcecode: accerciser version File versions

def accerciser::accessible_treeview::AccessibleTreeView::_accCellDataFunc (   self,
  tvc,
  cellrenderer,
  model,
  iter 
) [private]

A cellrenderer data function. renderer's this application's node as insensitive.

@param tvc: A treeview column.
@type tvc: L{gtk.TreeViewColumn}
@param cellrenderer: The cellrenderer that needs to be tweaked.
@type cellrenderer: L{gtk.CellRenderer}
@param model: The treeview's data model.
@type model: L{AccessibleModel}
@param iter: The iter at the given row.
@type iter: L{gtk.TreeIter}

Definition at line 707 of file accessible_treeview.py.

00707                                                             :
    '''
    A cellrenderer data function. renderer's this application's node as insensitive.

    @param tvc: A treeview column.
    @type tvc: L{gtk.TreeViewColumn}
    @param cellrenderer: The cellrenderer that needs to be tweaked.
    @type cellrenderer: L{gtk.CellRenderer}
    @param model: The treeview's data model.
    @type model: L{AccessibleModel}
    @param iter: The iter at the given row.
    @type iter: L{gtk.TreeIter}
    '''
    if model.iter_is_valid(iter):
      acc = model.get_value(iter, COL_ACC)
    else:
      acc = None
    if self.isMyApp(acc):
      cellrenderer.set_property('sensitive', False)
    else:
      cellrenderer.set_property('sensitive', True)

  def _selectFunc(self, path):


Generated by  Doxygen 1.6.0   Back to index