gtk-sharp Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object Gtk.TreeDragSource Gtk.TreeModel Gtk.TreeSortable A class that makes an underlying sortable. Constructor A , the child model for the new object. Constructor. FIXME: needs more explanation. Constructor Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method Gtk.TreeIter System.ParamArray a Add the list of objects in to the model; there should be enough objects to fill one row of the model. a Method System.Void Fires a event. Designed to be called by routines that change the sort of the tree. Method System.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. Method Gtk.TreeIter a Returns the row in the TreeModel that corresponds to the row pointed to by . a Method System.Boolean To be added. To be added. To be added. To be added. To be added. Method Gtk.TreePath A Converts 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 Method Gtk.TreeIter a Returns an iter that points to the row pointed to by . a Method Gtk.TreePath A Converts to a path on the child model of this TreeModelSort object. (In other words, points to a location within this objectable.) 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. Property Gtk.TreeIterCompareFunc The function to sort columns not otherwise specified by . a This property is meant to be used together with . Method System.Boolean a , the path of the row that was dragged This method asks the source row for the dragged data to delete itself, because that data has been moved elsewhere. a This method returns FALSE if the deletion fails because path no longer exists, or for some other model-specific reason. Method System.Boolean a a object to fill with data Asks the to fill in with a representation of the row at . Should robustly handle a path no longer found in the model. A ; true if data of the required type was provided. Method System.Void A pointing to the changed row. A pointing to the changed row. Emits a signal for the row in . Method System.Void an object of type Emits the event. 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. Method System.Void an object of type an object of type Emits the event. This should be called by models after the child state of a node changes. Method System.Void an object of type , path of the inserted row. an object of type , points to the inserted row. Emits the event. Method System.Void To be added. To be added. To be added. To be added. To be added. Property Gtk.TreeModelFlags Returns 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. Method System.Void A Run on every row in the TreeModel. Method GLib.GType a , the column number. Returns the type of the column at the given index. a Method System.Boolean an object of type an object of type Sets to a valid iterator pointing to . an object of type Method System.Boolean an object of type Gets the first iterator in the tree (the one at the path "0") and returns . an object of type Returns if the tree is empty. Method System.Boolean an object of type an object of type Gets the at . an object of type Otherwise, is left invalid and is returned. Method Gtk.TreePath an object of type Gets the of . an object of type Method System.Boolean a , an integer to put the results in a , an object to put the type of sort into Returns the index of the column currently being used to sort the model data. a Method System.String a Generates a string representation of the path of . a This string is a ':' separated list of numbers. For example, "4:10:0:3" would be an acceptable return value for this string. Method System.Void an object of type a , pointer to the va_list data structure of arguments (FIXME: clarify what va_lists look like) Gets the values of child properties for the row pointed to by . Method System.Object a a Gets the value stored in column of the row pointed to by . a Method System.Void a a a Gets the value stored in column of the row pointed to by and stores it in Property GLib.GType GType Property. a Returns the native value for . Property System.Boolean Return 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. Method System.Boolean A to fill with the rows of this tree. Returns 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. Method System.Boolean an object of type an object of type Sets to point to the first child of . 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. Method System.Boolean an object of type Returns if iter has children, otherwise. an object of type Method System.Boolean a Tests whether is a valid iterator for this TreeModel. a Method System.Int32 Returns 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. Method System.Int32 an object of type Returns the number of children that has. an object of type As a special case, if is , then the number of toplevel nodes is returned. Method System.Boolean an object of type Sets to point to the node following it at the current level. an object of type If there is no next iter, is returned and iter is set to be invalid. Method System.Boolean an object of type an object of type Sets to be the child of the root node, using the given index. an object of type In this case, the nth root node is set. Method System.Boolean an object of type an object of type an object of type Sets to be the child of , using the given index. 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. Method System.Boolean an object of type an object of type Sets to be the parent of . 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. Method System.Boolean To be added. To be added. To be added. To be added. Property GLib.Property("model") Gtk.TreeModel Tree data model. a Property System.Int32 The number of columns supported by the object. An integer count of the columns. Method GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowChanged", Type=typeof(Gtk.TreeModelSort)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowDeleted", Type=typeof(Gtk.TreeModelSort)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowHasChildToggled", Type=typeof(Gtk.TreeModelSort)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowInserted", Type=typeof(Gtk.TreeModelSort)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowsReordered", Type=typeof(Gtk.TreeModelSort)) System.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. Method GLib.DefaultSignalHandler(ConnectionMethod="OverrideSortColumnChanged", Type=typeof(Gtk.TreeModelSort)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void an object of type Lets the tree ref the node. 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. Method System.Void Clear the default sort function. Event GLib.Signal("row-changed") Gtk.RowChangedHandler Raised when a tree row is changed. Event GLib.Signal("row-deleted") Gtk.RowDeletedHandler Raised when a row is deleted from the tree. Method System.Boolean a , the row being checked Checks to see whether a given row can be used as a source for a drag-and-drop operation. a , TRUE if the row is draggable. If the object does not implement this method, the row is assumed to be draggable. Event GLib.Signal("row-has-child-toggled") Gtk.RowHasChildToggledHandler Raised when the child state of a row is toggled. Event GLib.Signal("row-inserted") Gtk.RowInsertedHandler Raised when a new row is inserted into the tree. Event GLib.Signal("rows_reordered") Gtk.RowsReorderedHandler Raised when rows are reordered or moved around. Method System.Void A , the sort column index. A , the kind of sort to use Sets which column is to be used to sort the data in the tree. Method System.Void A , the index of the column to be sorted A , the function to use for sorting Sets a function to sort a particular column. This method is meant to be used together with . Method System.Void a a a Sets the value of column in the row pointed to by to if the value is a boolean. Method System.Void a a a Sets the value of column in the row pointed to by to if the value is a . Method System.Void a a a Sets the value of column in the row pointed to by to if the value is an . Method System.Void a a a Sets the value of column in the row pointed to by to if the value is an . Method System.Void a a a Sets the value of column in the row pointed to by to if the value is an . Method System.Void a a a Sets the value of column in the row pointed to by to if the value is an . Method System.Void a a a Sets the value of column in the row pointed to by to if the value is an . To be added. Event GLib.Signal("sort-column-changed") System.EventHandler Raised when the sort column is changed. Method System.Void an object of type Lets the tree unref the node. 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.