TreeSelection.setSelectFunction

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.

class TreeSelection
void
setSelectFunction

Parameters

func GtkTreeSelectionFunc

The selection function. May be NULL

data void*

The selection function's data. May be NULL

destroy GDestroyNotify

The destroy function for user data. May be NULL

Meta