GtkTreeModelFilter {RGtk2} | R Documentation |
A GtkTreeModel which hides parts of an underlying tree model
gtkTreeModelFilterNew(child.model, root = NULL)
gtkTreeModelFilterSetVisibleFunc(object, func, data = NULL)
gtkTreeModelFilterSetModifyFunc(object, types, func, data = NULL)
gtkTreeModelFilterSetVisibleColumn(object, column)
gtkTreeModelFilterGetModel(object)
gtkTreeModelFilterConvertChildIterToIter(object, child.iter)
gtkTreeModelFilterConvertIterToChildIter(object, filter.iter)
gtkTreeModelFilterConvertChildPathToPath(object, child.path)
gtkTreeModelFilterConvertPathToChildPath(object, filter.path)
gtkTreeModelFilterRefilter(object)
gtkTreeModelFilterClearCache(object)
GObject +----GtkTreeModelFilter
GtkTreeModelFilter implements
GtkTreeModel
and GtkTreeDragSource
.
A GtkTreeModelFilter
is a tree model which wraps another tree model,
and can do the following things:
GtkTreePath
indicating the root node for the filter at construction time.
GtkTreeModelFilter
GtkTreeModelFilterVisibleFunc(model, iter, data)
iter
is visible.
model
GtkTreeModel
] the child model of the GtkTreeModelFilter
iter
GtkTreeIter
] a GtkTreeIter
pointing to the row in model
whose visibility
is determineddata
gtkTreeModelFilterSetVisibleFunc
GtkTreeModelFilterModifyFunc(model, iter, value, column, data)
value
with the display value for the column column
in the
row indicated by iter
.
Since this function is called for each data access, it's not a particularly efficient operation.
model
GtkTreeModel
] the GtkTreeModelFilter
iter
GtkTreeIter
] a GtkTreeIter
pointing to the row whose display values are determinedvalue
R object
which is already initialized for with the correct type for
the column column
.column
data
gtkTreeModelFilterSetModifyFunc
child-model
[GtkTreeModel
: Read / Write / Construct Only]The model for the filtermodel to filter.
virtual-root
[GtkTreePath
: Read / Write / Construct Only]The virtual root (relative to the child model) for this filtermodel.
Derived by RGtkGen from GTK+ documentation
http://developer.gnome.org/doc/API/2.0/gtk/GtkTreeModelFilter.html