gtk-sharp2.10.0.0Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details.A class that makes an underlying sortable.GLib.ObjectGtk.TreeDragSourceGtk.TreeModelGtk.TreeSortableMethodSystem.Int32Returns the number of children the object's iterator has.An integer.As a special case, if iter is , then the number of toplevel nodes is returned.MethodSystem.BooleanReturns the rows of this tree.
A to fill with the rows of this tree.
A , true if this tree has children, false otherwise.The underlying C call supports the specification of arbitrary parent rows to return children of, but the C# bindings assume that the root
node is always the parent.MethodSystem.VoidFires a event.Designed to be called by routines that change the sort of the tree.MethodSystem.VoidSets which column is to be used to sort the data in the tree.
A , the sort column index.
A , the kind of sort to use
MethodSystem.VoidSets a function to sort a particular column.
A , the index of the column to be sorted
A , the function to use for sorting
ignored
ignored
This overload is obsolete. The two parameter overload is preferred for new code.MethodSystem.VoidSets a function that should be used to be sort columns by default if not otherwise specified by .
A , the function to use for sorting
ignored
ignored
This method is obsolete. The property is preferred for new code.PropertyGtk.TreeIterCompareFuncThe function to sort columns not otherwise specified by .a This property is meant to be used together with .MethodSystem.VoidEmits a signal for the row in .
A pointing to the changed row.
A pointing to the changed row.
MethodSystem.VoidRun on every row in the TreeModel.
A MethodSystem.BooleanGets the first iterator in the tree (the one at the path "0") and returns .
an object of type an object of type Returns if the tree is empty.MethodSystem.VoidEmits the event.
an object of type
an object of type This should be called by models after the child state of a node changes.MethodGtk.TreePathGets the of .
an object of type an object of type MethodSystem.BooleanReturns if iter has children, otherwise.
an object of type an object of type MethodSystem.VoidLets the tree ref the node.
an object of type This is an optional method for models to implement. To be more specific, models may ignore this call as it exists primarily for performance reasons.This function is primarily meant as a way for views to let caching models know when nodes are being displayed (and hence, whether or not to cache that node.) For example, a file-system based model would not want to keep the entire file-hierarchy in memory, just the sections that are currently being displayed by every current view.A model should be expected to be able to get an iter independent of its referenced state.MethodSystem.Int32Returns the number of children that has.
an object of type an object of type As a special case, if is , then the number of toplevel nodes is returned.MethodSystem.VoidEmits the event.
an object of type , path of the inserted row.
an object of type , points to the inserted row.
MethodSystem.VoidEmits the event.
an object of type This should be called by models after a row has been removed. The location pointed to by should be the location that the row previously was at. It may not be a valid location anymore.MethodSystem.VoidGets the values of child properties for the row pointed to by .
an object of type
a , pointer to the va_list data structure of arguments (FIXME: clarify what va_lists look like)
MethodSystem.VoidLets the tree unref the node.
an object of type This is an optional method for models to implement. To be more specific, models may ignore this call as it exists primarily for performance reasons. For more information on what this means, see . Please note that nodes that are deleted are not unreferenced.MethodGtk.TreePathConverts to a path on the child model of this TreeModelSort object. (In other words, points to a location within this objectable.)
A A new that points to the same location as in the model that's not sorted. May also return if the does not point to a location in the child model.MethodSystem.Void * This function should almost never be called. It clears the TreeModelSort object of any cached iterators that haven't been reffed with . This might be useful if the child model being sorted is static (and doesn't change often) and there has been a lot of unreffed access to nodes. As a side effect of this function, all unreffed iters will be invalid.MethodSystem.VoidClear the default sort function.MethodGtk.TreePathConverts to a path relative to . That is, points to a path in the child model. The returned path will point to the same row in the sorted model. If isn't a valid path on the child model, then is returned.
A A ConstructorInternal constructor
Pointer to the C object.
This is an internal constructor, and should not be used by user code.ConstructorConstructor.
A , the child model for the new object.
FIXME: needs more explanation.PropertySystem.Int32The number of columns supported by the object.An integer count of the columns.PropertyGtk.TreeModelFlagsReturns a set of flags supported by this interface. The flags are a bitwise combination of . a The flags supported should not change during the lifecycle of the tree model.EventSystem.EventHandlerRaised when the sort column is changed.GLib.Signal("sort_column_changed")EventGtk.RowHasChildToggledHandlerRaised when the child state of a row is toggled.GLib.Signal("row_has_child_toggled")EventGtk.RowInsertedHandlerRaised when a new row is inserted into the tree.GLib.Signal("row_inserted")EventGtk.RowDeletedHandlerRaised when a row is deleted from the tree.GLib.Signal("row_deleted")EventGtk.RowChangedHandlerRaised when a tree row is changed.GLib.Signal("row_changed")EventGtk.RowsReorderedHandlerRaised when rows are reordered or moved around.GLib.Signal("rows_reordered")MethodSystem.BooleanSets to be the child of the root node, using the given index.
an object of type
an object of type an object of type In this case, the nth root node is set.MethodSystem.BooleanSets to be the child of , using the given index.
an object of type
an object of type
an object of type an object of type The first index is 0. If is too big, or has no children, is set to an invalid iterator and is returned. will remain a valid node after this function has been called.MethodSystem.BooleanGets the at .
an object of type
an object of type an object of type Otherwise, is left invalid and is returned.MethodSystem.BooleanSets to point to the first child of .
an object of type
an object of type an object of type If has no children, is returned and is set to be invalid. will remain a valid node after this function has been called.MethodSystem.BooleanSets to a valid iterator pointing to .
an object of type
an object of type an object of type MethodSystem.BooleanSets to be the parent of .
an object of type
an object of type an object of type If is at the toplevel, and does not have a parent, then is set to an invalid iterator and is returned. will remain a valid node after this function has been called.MethodSystem.StringGenerates a string representation of the path of .
a a This string is a ':' separated list of numbers. For example, "4:10:0:3" would be an acceptable return value for this string.MethodSystem.BooleanTests whether is a valid iterator for this TreeModel.
a a MethodSystem.BooleanReturns the index of the column currently being used to sort the model data.
a , an integer to put the results in
a , an object to put the type of sort into
a MethodSystem.VoidSets the value of column in the row pointed to by to if the value is a boolean.
a
a
a MethodSystem.VoidSets the value of column in the row pointed to by to if the value is a .
a
a
a MethodSystem.VoidSets the value of column in the row pointed to by to if the value is an .
a
a
a MethodSystem.VoidSets the value of column in the row pointed to by to if the value is an .
a
a
a MethodSystem.VoidSets the value of column in the row pointed to by to if the value is an .
a
a
a MethodSystem.VoidSets the value of column in the row pointed to by to if the value is an .
a
a
a To be added.MethodSystem.VoidSets the value of column in the row pointed to by to if the value is an .
a
a
a MethodGtk.TreeIterSystem.ParamArrayAdd the list of objects in to the model; there should be enough objects to fill one row of the model.
a a MethodSystem.ObjectGets the value stored in column of the row pointed to by .
a
a a PropertySystem.BooleanReturn whether this TreeModel has a default sort function or not.a , true if a default sort function exists.See to set a default sort function.PropertyGLib.GTypeGType Property.a Returns the native value for .MethodGLib.GTypeReturns the type of the column at the given index.
a , the column number.
a MethodSystem.VoidDefault handler for the event.
a
a
a Override this method in a subclass to provide a default handler for the event.MethodSystem.VoidDefault handler for the event.
a
a Override this method in a subclass to provide a default handler for the event.MethodSystem.VoidDefault handler for the event.
a Override this method in a subclass to provide a default handler for the event.MethodSystem.VoidDefault handler for the event.
a
a Override this method in a subclass to provide a default handler for the event.MethodSystem.VoidDefault handler for the event.
a
a Override this method in a subclass to provide a default handler for the event.MethodSystem.VoidDefault handler for the event.Override this method in a subclass to provide a default handler for the event.ConstructorProtected Constructor.
a Chain to this constructor if you have manually registered a native value for your subclass.System.ObsoleteMethodGtk.TreeIterReturns the row in the TreeModel that corresponds to the row pointed to by .
a a MethodGtk.TreeIterReturns an iter that points to the row pointed to by .
a a MethodSystem.Int32Sends out a event.
a that points to the row whose children have been reordered.
a that points to the row whose children have been reordered.
a , pointer to an array of integers with the new indices of the children.MethodSystem.VoidGets the value stored in column of the row pointed to by and stores it in
a
a
a MethodSystem.BooleanSets to point to the node following it at the current level.
an object of type an object of type If there is no next iter, is returned and iter is set to be invalid.MethodSystem.BooleanThis method asks the source row for the dragged data to delete itself, because that data has been moved elsewhere.
a , the path of the row that was dragged
a This method returns FALSE if the deletion fails because path no longer exists, or for some other model-specific reason.MethodSystem.BooleanChecks to see whether a given row can be used as a source for a drag-and-drop operation.
a , the row being checked
a , TRUE if the row is draggable.If the object does not implement this method, the row is assumed to be draggable.MethodSystem.BooleanAsks the to fill in with a representation of the row at . Should robustly handle a path no longer found in the model.
a
a object to fill with data
A ; true if data of the required type was provided.PropertyGtk.TreeModelTree data model.a GLib.Property("model")MethodSystem.VoidSets a function to sort a particular column.
A , the index of the column to be sorted
A , the function to use for sorting
This method is meant to be used together with .MethodSystem.Void
Path to the reordered parent node.
Iter corresponding to the reordered parent node.
An array of the old indices.
Default handler for the RowsReordered event.