TreeSelection.setSelectFunction

void setSelectFunction(gtk.types.TreeSelectionFunc func = null)

Sets the selection function.

If set, this function is called before any node is selected or unselected, giving some control over which nodes are selected. The select function should return true if the state of the node may be toggled, and false if the state of the node should be left unchanged.

Parameters

funcThe selection function. May be null

Deprecated

Use GtkListView or GtkColumnView