set_mode


Description:

public void set_mode (SelectionMode type)

Sets the selection mode of the this.

Note:

Use GtkListView or GtkColumnView

If the previous type was gtk_selection_multiple, then the anchor is kept selected, if it was previously selected.

Parameters:

this

A `GtkTreeSelection`.

type

The selection mode