Package: gtk
Function gtk:tree-model-filter-set-visible-func
Lambda Listgtk:tree-model-filter-set-visible-func (filter func) ArgumentsDetails
Sets the visible function used when filtering the filter model to be func. The function should return true if the given row should be visible and false otherwise. If the condition calculated by the function changes over time, for example, because it depends on some global parameters, you must call the gtk:tree-model-filter-refilter function 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. Warning | See also |
#2024-4-29