Inherits: GTK2.Container
An extremely flexible widget for displaying tabular or tree-based data. The flexibility comes at the expense of complexity; unlike most widgets, you have to put some work into this one.
NOTE: I've had some problems with set_model(); not sure why. Everything's fine if the model is provided to the constructor.
GTK2.TreeView GTK2.TreeView(GTK2.TreeModel model_or_props)
Common subclasses of TreeModel to use: GTK2.ListStore, GTK2.TreeStore
These pages copyright Chris Angelico, 2011. Licensed under the LGPL, the GPL v2.0, and the MPL v1.1. Page rendering by a Pike CGI script, licensed under CC-BY-NC-SA, source available here.