# Class GTK2.ListStore

Inheritance graph

Description

  A list-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.ListStore GTK2.ListStore(`array` `types`)`

Description

  Create a new list 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.