---
name: "GTree.view"
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.view"
---

# GTree.view(3o)

A widget for displaying both trees and lists

## NAME

GTree.view - A widget for displaying both trees and lists

## Class

Class   GTree.view

## Documentation

*class view :* **Gtk.tree\_view Gtk.obj -\> object end**

A widget for displaying both trees and lists

**Parameters:**

""

**Gtk.tree\_view Gtk.obj**

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

*method connect :* **GTree.view\_signals**

*method append\_column :* **GTree.view\_column -\> int**

*method collapse\_all :* **unit -\> unit**

*method collapse\_row :* **Gtk.tree\_path -\> unit**

*method enable\_search :* **bool**

*method event :* **GObj.event\_ops**

*method expand\_all :* **unit -\> unit**

*method expand\_row :* **?all:bool -\> Gtk.tree\_path -\> unit**

*method expander\_column :* **GTree.view\_column option**

*method fixed\_height\_mode :* **bool**

*method get\_column :* **int -\> GTree.view\_column**

*method get\_cursor :* **unit -\> Gtk.tree\_path option \* GTree.view\_column option**

*method get\_path\_at\_pos :* **x:int -\> y:int -\> (Gtk.tree\_path \* GTree.view\_column \* int \* int) option**

*method hadjustment :* **GData.adjustment**

*method headers\_visible :* **bool**

*method insert\_column :* **GTree.view\_column -\> int -\> int**

*method model :* **GTree.model**

*method move\_column :* **GTree.view\_column -\> after:GTree.view\_column -\> int**

*method remove\_column :* **GTree.view\_column -\> int**

*method reorderable :* **bool**

*method row\_activated :* **Gtk.tree\_path -\> GTree.view\_column -\> unit**

*method row\_expanded :* **Gtk.tree\_path -\> bool**

*method rules\_hint :* **bool**

*method scroll\_to\_cell :* **?align:float \* float -\> Gtk.tree\_path -\> GTree.view\_column -\> unit**

*method scroll\_to\_point :* **int -\> int -\> unit**

*method search\_column :* **int**

*method selection :* **GTree.selection**

*method set\_cursor :* **'a.** **?cell:(#GTree.cell\_renderer as 'a) -\>** **?edit:bool -\> Gtk.tree\_path -\> GTree.view\_column -\> unit**

**Since** GTK 2.2

*method set\_enable\_search :* **bool -\> unit**

*method set\_expander\_column :* **GTree.view\_column option -\> unit**

*method set\_fixed\_height\_mode :* **bool -\> unit**

*method set\_hadjustment :* **GData.adjustment -\> unit**

*method set\_headers\_clickable :* **bool -\> unit**

*method set\_headers\_visible :* **bool -\> unit**

*method set\_model :* **GTree.model option -\> unit**

*method set\_reorderable :* **bool -\> unit**

*method set\_rules\_hint :* **bool -\> unit**

*method set\_search\_column :* **int -\> unit**

*method set\_vadjustment :* **GData.adjustment -\> unit**

*method vadjustment :* **GData.adjustment**

*method hover\_expand :* **bool**

**Since** GTK 2.6

*method set\_hover\_expand :* **bool -\> unit**

**Since** GTK 2.6

*method hover\_selection :* **bool**

**Since** GTK 2.6

*method set\_hover\_selection :* **bool -\> unit**

**Since** GTK 2.6

*method set\_row\_separator\_func :* **(GTree.model -\> Gtk.tree\_iter -\> bool) option -\> unit**

**Since** GTK 2.6
