GTK2.TreeSelection set_mode(int type)
Sets the selection mode. If the previous type was GTK2.SELECTION_MULTIPLE, then the anchor is kept selected, if it was previously selected. One of SELECTION_BROWSE , SELECTION_MULTIPLE , SELECTION_NONE and SELECTION_SINGLE .