# Class GTK2.TreeStore

Inheritance graph

Description

  A tree-like data structure that can be used with W(TreeView).

Inherit Object

  inherit G.Object : Object

Inherit TreeDragDest

  inherit GTK2.TreeDragDest : TreeDragDest

Inherit TreeDragSource

  inherit GTK2.TreeDragSource : TreeDragSource

Inherit TreeModel

  inherit GTK2.TreeModel : TreeModel

Inherit TreeSortable

  inherit GTK2.TreeSortable : TreeSortable

Method create

  `GTK2.TreeStore GTK2.TreeStore(array types)`

Description

  Create a new tree store with as many columns as there are items in the array. A type is either a string representing a type name, such as "int" or "float", or an actual widget. If it is a widget, the column in question should be a widget of the same type that you would like this column to represent.