gtkTreeModelFilterSetVisibleFunc {RGtk2}R Documentation

gtkTreeModelFilterSetVisibleFunc

Description

Sets the visible function used when filtering the filter to be func. The function should return TRUE if the given row should be visible and FALSE otherwise.

Usage

gtkTreeModelFilterSetVisibleFunc(object, func, data = NULL)

Arguments

object [GtkTreeModelFilter] A GtkTreeModelFilter.
func [GtkTreeModelFilterVisibleFunc] A GtkTreeModelFilterVisibleFunc, the visible function.
data [R object] User data to pass to the visible function, or NULL.

Details

If the condition calculated by the function changes over time (e.g. because it depends on some global parameters), you must call gtkTreeModelFilterRefilter to keep the visibility information of the model uptodate.

Since 2.4

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]