TreeSelection.setMode

void setMode(gtk.types.SelectionMode type)

Sets the selection mode of the selection. If the previous type was gtk.types.SelectionMode.Multiple, then the anchor is kept selected, if it was previously selected.

Parameters

typeThe selection mode

Deprecated

Use GtkListView or GtkColumnView