| Extracted from Pike v7.8 release 866 at 2018-02-09.

[Top]
GTK2
GTK2.TreeSelection

# Method GTK2.TreeSelection()->set_mode()

Method set_mode

  `GTK2.TreeSelection set_mode(int type)`

Description

  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 .