Description Usage Arguments Details Author(s)
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.
1 | gtkTreeModelFilterSetVisibleFunc(object, func, data = NULL)
|
|
A |
|
A |
|
User data to pass to the visible function, or |
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.
Note that func
is called whenever a row is inserted, when it may still be
empty. The visible function should therefore take special care of empty
rows, like in the example below.
1 2 3 4 5 6 7 8 9 10 11 |
Since 2.4
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.