# Class GTree.selection

    class selection : Gtk.tree_selection -> object .. end

The selection object for `GTree.view`

    val obj : Gtk.tree_selection

    method connect : selection_signals

    method misc : GObj.gobject_ops

    method count_selected_rows : int

Since GTK 2.2

    method get_mode : Gtk.Tags.selection_mode

    method get_selected_rows : Gtk.tree_path list

    method iter_is_selected : Gtk.tree_iter -> bool

    method path_is_selected : Gtk.tree_path -> bool

    method select_all : unit -> unit

    method select_iter : Gtk.tree_iter -> unit

    method select_path : Gtk.tree_path -> unit

    method select_range : Gtk.tree_path -> Gtk.tree_path -> unit

    method set_mode : Gtk.Tags.selection_mode -> unit

    method set_select_function : (Gtk.tree_path -> bool -> bool) -> unit

    method unselect_all : unit -> unit

    method unselect_iter : Gtk.tree_iter -> unit

    method unselect_path : Gtk.tree_path -> unit

    method unselect_range : Gtk.tree_path -> Gtk.tree_path -> unit

Since GTK 2.2