Sets the selection mode of the this.
Use GtkListView or GtkColumnView
If the previous type was gtk_selection_multiple, then the anchor is kept selected, if it was previously selected.
this |
A `GtkTreeSelection`. |
type |
The selection mode |