---
name: "GTree.selection"
section: "3o"
platform: "linux"
package: "liblablgtk2-ocaml-doc"
version: "2.4.0v0.2tv-8"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/GTree.selection"
---

# GTree.selection(3o)

The selection object for GTree.view

## NAME

GTree.selection - The selection object for GTree.view

## Class

Class   GTree.selection

## Documentation

*class selection :* **Gtk.tree\_selection -\> object end**

The selection object for  **GTree.view**

**Parameters:**

""

**Gtk.tree\_selection**

*val obj :* **Gtk.tree\_selection**

*method connect :* **GTree.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
