Package: gtk

Callback gtk-tree-selection-func

Details

A callback function used by the gtk-tree-selection-set-select-function function to filter whether or not a row may be selected. It is called whenever the selection state of a row might change. A return value of true indicates to selection that it is okay to change the selection.
 lambda (selection model path selected)  
selection
A gtk-tree-selection object.
mode
A gtk-tree-model being viewed.
path
The gtk-tree-path instance of the row in question.
selected
True, if the path is currently selected.
Returns
True, if the selection state of the row can be toggled.
 

See also

2021-10-26