Python-Ref > GUI programming with PyGTK > Data structures > TreeModel
 
 

<-^^->
Klíčová slova
Moduly
Knihovní funkce

TreeModel

Model of data to be displayed in a variety of widgets.
TreeModel represents an interface for definition of a tree-like and table-like data structures with strong typing. TreeModel's primary purpose is to be used in combination with the TreeWidget, but its generic nature makes it usable in other widgets, such as the ComboBox and ComboBoxEntry.
There are two object available in GTK that implement the TreeModel interface, the TreeStore and the ListStore. You can find some basic examples of their use on the appropriate slides.