TreeSelectionFunc


Description:

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 TreeSelection

model

A TreeModel being viewed

path

The TreePath 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: gtk+-3.0