Object Hierarchy:

Object hierarchy for TreeStore


[ CCode ( type_id = "gtk_tree_store_get_type ()" ) ]
public class TreeStore : Object, Buildable, TreeDragDest, TreeDragSource, TreeModel, TreeSortable

The TreeStore object is a list model for use with a TreeView widget.

It implements the TreeModel interface, and consequentially, can use all of the methods available there. It also implements the TreeSortable interface so it can be sorted by the view. Finally, it also implements the tree drag and drop interfaces.

GtkTreeStore as GtkBuildable

The GtkTreeStore implementation of the Buildable interface allows to specify the model columns with a `<columns>` element that may contain multiple `<column>` elements, each specifying one model column. The “type” attribute specifies the data type for the column.

An example of a UI Definition fragment for a tree store:

<object class="GtkTreeStore">
<column type="gchararray"/>
<column type="gchararray"/>
<column type="gint"/>

Namespace: Gtk
Package: gtk+-3.0


Creation methods:


Inherited Members:

All known members inherited from interface Gtk.TreeDragDest
All known members inherited from interface Gtk.TreeDragSource