Gtk.TreeModel Members

The members of Gtk.TreeModel are listed below.

Public Properties

[read-only]
FlagsTreeModelFlags. Returns a set of flags supported by this interface.
[read-only]
NColumnsint. Returns the number of columns supported by the Gtk.TreeModel.

Public Methods

EmitRowChanged(TreePath, TreeIter)
Emits the TreeModel.RowChanged signal.
EmitRowDeleted(TreePath)
Emits the TreeModel.RowDeleted event.
EmitRowHasChildToggled(TreePath, TreeIter)
Emits the TreeModelSort.RowHasChildToggled event.
EmitRowInserted(TreePath, TreeIter)
Emits the TreeModel.RowInserted event.
EmitRowsReordered(TreePath, TreeIter) : int
Sends out a TreeModel.RowsReordered event.
Foreach(TreeModelForeachFunc)
Calls func on each node in model in a depth-first fashion.
GetColumnType(int) : GLib.GType
Returns the type of the column at the given index.
GetIter(out TreeIter, TreePath) : bool
Sets iter to a valid iterator pointing to path.
GetIterFirst(out TreeIter) : bool
Gets the first iterator in the tree (the one at the path "0") and returns true.
GetIterFromString(out TreeIter, string) : bool
Gets the Gtk.TreeIter at path_string.
GetPath(TreeIter) : TreePath
Gets the Gtk.TreePath of iter.
GetStringFromIter(TreeIter) : string
Generates a string representation of the path of iter.
GetValist(TreeIter, IntPtr)
Gets the values of child properties for the row pointed to by iter.
GetValue(TreeIter, int) : object
Gets the value stored in column column of the row pointed to by iter.
GetValue(TreeIter, int, ref GLib.Value)
Gets the value stored in column column of the row pointed to by iter and stores it in value
IterChildren(out TreeIter) : bool
Sets the TreeIter object pointed to by iter to point to the first child of this tree.
IterChildren(out TreeIter, TreeIter) : bool
Sets iter to point to the first child of parent.
IterHasChild(TreeIter) : bool
Returns true if iter has children, false otherwise.
IterNChildren() : int
Returns the number of children that the Gtk.TreeIter has.
IterNChildren(TreeIter) : int
Returns the number of children that iter has.
IterNext(ref TreeIter) : bool
Sets iter to point to the node following it at the current level.
IterNthChild(out TreeIter, int) : bool
Sets iter to be the child of the root node, using the given index.
IterNthChild(out TreeIter, TreeIter, int) : bool
Sets iter to be the child of parent, using the given index.
IterParent(out TreeIter, TreeIter) : bool
Sets iter to be the parent of child.
RefNode(TreeIter)
Lets the tree ref the node.
SetValue(TreeIter, int, bool)
Sets the value of column column in the row pointed to by iter to value if the value is a boolean.
SetValue(TreeIter, int, double)
Sets the value of column column in the row pointed to by iter to value if the value is a double.
SetValue(TreeIter, int, int)
Sets the value of column column in the row pointed to by iter to value if the value is an int.
SetValue(TreeIter, int, object)
Sets the value of column column in the row pointed to by iter to value if the value is an object.
SetValue(TreeIter, int, float)
Sets the value of column column in the row pointed to by iter to value if the value is an float.
SetValue(TreeIter, int, string)
Sets the value of column column in the row pointed to by iter to value if the value is an string.
SetValue(TreeIter, int, uint)
Sets the value of column column in the row pointed to by iter to value if the value is an uint.
UnrefNode(TreeIter)
Lets the tree unref the node.

Public Events

RowChangedEmitted when a row has changed.
RowDeletedEmitted when a row is deleted.
RowHasChildToggledEmitted when a child of a row is toggled.
RowInsertedEmitted when a row has been inserted into the model.
RowsReorderedEmitted when a row is re-ordered