TreeSelectionFunc
Description:
[ CCode ( instance_pos = 4.9 ) ]
public delegate bool TreeSelectionFunc (TreeSelection selection, TreeModel model, TreePath path, bool path_currently_selected)
public delegate bool TreeSelectionFunc (TreeSelection selection, TreeModel model, TreePath path, bool path_currently_selected)
A function used by 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.
Parameters:
selection |
A `GtkTreeSelection` |
model |
A `GtkTreeModel` being viewed |
path |
The `GtkTreePath` of the row in question |
path_currently_selected |
true, if the path is currently selected |
data |
user data |
Returns:
true, if the selection state of the row can be toggled |
Namespace: Gtk
Package: gtk4