TreeSelectionFunc
typealias TreeSelectionFunc = (selection: TreeSelection, model: TreeModel, path: TreePath, pathCurrentlySelected: Boolean) -> Boolean
A function used by gtk_tree_selection_set_select_function() 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.
param
selection
AGtkTreeSelection
param
model
AGtkTreeModel
being viewedparam
path
TheGtkTreePath
of the row in questionparam
pathCurrentlySelected
true, if the path is currently selectedreturn true, if the selection state of the row can be toggled