Description Usage Arguments Details Value Note Author(s) See Also
Functions that allow one to implement a custom GtkTreeModel
1 2 3 4 5 | gtkTreeIter(id, stamp)
gtkTreeIterGetId(iter)
gtkTreeIterSetId(iter, id)
gtkTreeIterGetStamp(iter)
gtkTreeIterSetStamp(iter, stamp)
|
iter |
The |
id |
The integer code identifying |
stamp |
The integer code for tracking the version of |
These functions allow one to create and access
GtkTreeIter structures when implementing a GtkTreeModel.
gtkTreeIter creates an iter from scratch, given an id and stamp.
gtkTreeIterGetId and gtkTreeIterSetId access the integer that
identifies the data element referred to by iter.
gtkTreeIterGetStamp and gtkTreeIterSetStamp access the integer
that serves as a version stamp. After the model changes, the model version
should be incremented, so that all existing iters are invalidated, as
evidenced by their stamp.
For gtkTreeIter, an external pointer to the underlying C structure.
For gtkTreeIterGetId, the integer code identifying the element
referred to by iter.
For gtkTreeIterGetStamp, the integer code identifying the version
of iter.
These functions are for implementing GtkTreeModels only! Most
of the time, one can use one of the implementations included with GTK+
(GtkListStore or GtkTreeStore) or
RGtkDataFrame.
Michael Lawrence
gClass
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.