GtkTreeModel



Is the new GtkTree stuff in 1.3.6 actually working?  i can't find much documentation.
It seems to be designed to be able to display very large trees, like a file system.
Is any example code available that displays a file system?

While i understand the concept, i don't understand how to create GObject interfaces.
For example, how do i make GTK_TREE_MODEL_GET_IFACE(obj) work?  i've only seen
tutorials for Gtk 1.2.x.

Is the data of GtkTreeIter model-defined?

i can't quite get my head around descriptions like this:

  Also, with GtkTreeViewColumn, you can bind a property to a value in a GtkTreeModel.
  For example, you can bind the "text" property on the cell renderer to a string value
  in the model, thus rendering a different string in each row of the GtkTreeView.

Huh?  Obviously i can dig through the code, but a working example would be great.

Thanks!!

-- 
Get self-realization at <http://sahajayoga.org> ... <http://why-compete.org> ?
  Victory to the Divine Mother!!




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]