TreeSelection.setMode

Sets the selection mode of the selection. If the previous type was GTK_SELECTION_MULTIPLE, then the anchor is kept selected, if it was previously selected.

class TreeSelection
void
setMode

Parameters

type GtkSelectionMode

The selection mode