A function used by TreeSelection.setSelectFunction to filter whether or not a row may be selected. It is called whenever a row's state might change. A return value of TRUE indicates to selection that it is okay to change the selection.

alias GtkTreeSelectionFunc = int function(GtkTreeSelection* selection, GtkTreeModel* model, GtkTreePath* path, int pathCurrentlySelected, void* data)

Return Value

TRUE, if the selection state of the row can be toggled