gtk-sharp2.8.0.0Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details.A tree-like data structure that can be used with the The object is a list model for use with a widget. It implements the interface, and consequentialy, can use all of the methods available there. It also implements the interface so it can be sorted by the view. Finally, it also implements the tree drag and drop interfaces.GLib.ObjectGtk.TreeDragDestGtk.TreeDragSourceGtk.TreeModelGtk.TreeSortableMethodSystem.Int32Returns the number of children that the has.an object of type As a special case, if iter is , then the number of toplevel nodes is returned.MethodSystem.BooleanSets the TreeIter object pointed to by the iter param to point to the first child of this tree.
an object of type an object of type MethodSystem.VoidPrepends a new row to the .
an object of type It will prepend a row to the top level. will be changed to point to this new row. The row will be empty after this method is called. To fill in values, you need to call .MethodSystem.VoidAppends a new row to the .
an object of type
It will append a row to the top level. will be changed to point to this new row. The row will be empty after this method is called. To fill in values, you need to call .
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 that should be used to be 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 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 that should be used to be sort columns by default if not otherwise specified by .a This property is meant to be used together with .MethodSystem.BooleanTests whether can be dropped on .
a , potential drop destination
a , potential data to be dropped.
a , true if drop is allowedMethodSystem.BooleanDrags data received into this object.
A , the destination path of the drag
A , the data that was dragged
A boolean, true if the data was successfully received.MethodSystem.BooleanMethod used when this TreeStore is part of a source widget
for a drag-and-drop operation; gets the data that was dragged from the
associated widget.
a
A A , true if the operation succeeded.MethodSystem.BooleanReturns whether or not a given row can be dragged.
a A boolean, true if the row is draggable.MethodSystem.BooleanWhen this TreeStore is the data source for a drag operation and the drag operation is a move, this method runs to delete the data after the data has been received by the target widget.
A , the path of the data to delete.
A , true if the operation succeeds.MethodSystem.VoidEmits the event.
an object of type
an object of type MethodSystem.VoidCalls on each node in model in a depth-first fashion.
an object of type If func returns , then the tree ceases to be walked, and this method returns.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 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 model 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
an object of type 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.MethodSystem.VoidRemoves all rows from the MethodSystem.VoidSets 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.BooleanReturns if is an ancestor of .
an object of type
an object of type an object of type That is, is the parent (or grandparent or great-grandparent) of .MethodSystem.VoidSets the data in the cell specified by and .
an object of type
an object of type
an object of type The type of value must be convertible to the type of the column.MethodSystem.Int32Returns the depth of .
an object of type an object of type This will be 0 for anything on the root level, 1 for anything down a level, etc.ConstructorInternal constructor
Pointer to the C object.
This is an internal constructor, and should not be used by user code.PropertySystem.Int32Returns the number of columns supported by the .an object of type PropertyGtk.TreeModelFlagsReturns a set of flags supported by this .an object of type The flags are a bitwise combination of . The flags supported should not change during the lifecycle of the .EventSystem.EventHandlerEmitted when the sort column of the has changed.GLib.Signal(CName="sort_column_changed")EventGtk.RowHasChildToggledHandlerEmitted when a child of a row is toggled.GLib.Signal(CName="row_has_child_toggled")EventGtk.RowInsertedHandlerEmitted when a row is inserted into the .GLib.Signal(CName="row_inserted")EventGtk.RowDeletedHandlerEmitted when a row is deleted from the .GLib.Signal(CName="row_deleted")EventGtk.RowChangedHandlerEmitted when a row is in the is changed.GLib.Signal(CName="row_changed")EventGtk.RowsReorderedHandlerEmitted when the rows of the are re-ordered.GLib.Signal(CName="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.VoidInserts a new row after .
an object of type
an object of type
If is , then the row will be prepended to the children of its parent. If parent and sibling are , then the row will be prepended to the toplevel. If both and parent are set, then parent must be the parent of . When is set, parent is optional.
MethodSystem.VoidInserts a new row before .
an object of type
an object of type If is , then the row will be appended to the children of its parent. If parent and sibling are , then the row will be appended to the toplevel. If both and parent are set, then parent must be the parent of . When is set, parent is optional.MethodSystem.VoidCreates a new row at .
an object of type
an object of type If parent is not , then the row will be made a child of parent. Otherwise, the row will be created at the toplevel. If is larger than the number of rows at that level, then the new row will be inserted to the end of the list. will be changed to point to this new row. The row will be empty after this function is called. To fill in values, you need to call .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.
path_string "0" represent the first node, "1" the second, and so on.
path_string "0:0" represent the first child of the first node, "0:1" the second child of the first node, and so on.
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.MethodGtk.TreeIterSystem.ParamArrayAppends a new row to the .
a with the data for the row.
a MethodGtk.TreeIterAppends a new row to the .
a with the data for the row.
a MethodGtk.TreeIterSystem.ParamArrayAppends a new row to the .
the parent row to attach the new row under.
a with the data for the row.
a To append the new row to the toplevel, use the MethodGtk.TreeIterAppends a new row to the .
the parent row to attach the new row under.
a with the data for the row.
a To append the new row to the toplevel, use the MethodSystem.StringMarshals the given into a path string.
a a MethodSystem.VoidMove the row pointed to by to the
position after . If
is ,
will be moved to point to the start
of the list.
a
a This only works in unsorted stores.MethodSystem.VoidSwaps rows a and b in the store.
a
a This is only works in unsorted stores.MethodSystem.VoidMove the row pointed to by to the
position before . If
is ,
will be moved to point to the end
of the list.
a
a This only works in unsorted stores.MethodSystem.BooleanTest whether is valid for this TreeStore.
a a , true if is valid.WARNING: this method is slow and is only intended for
debugging/testing purposes.ConstructorSystem.ParamArrayCreates a new instance.
a
Treestore store;
store = new TreeStore (typeof (int), typeof (string));
MethodSystem.BooleanReport on which column is currently being used to sort this TreeStore.
a , gets filled with the column number that's currently used for sorting
a , the current type of sort (ascending or descending)
a , false if the default sort column for this TreeStore is being used, true if some other sort column is being used.MethodSystem.VoidSets the value of the specified column in the row pointed by iter.
a
a
a The type of specified column must be a .MethodSystem.VoidSets the value of the specified column in the row pointed by iter.
a
a
a The type of specified column must be a .MethodSystem.VoidSets the value of the specified column in the row pointed by iter.
a
a
a The type of specified column must be an .MethodSystem.VoidSets the value of the specified column in the row pointed by iter.
a
a
a The type of specified column must be a .MethodSystem.VoidSets the value of the specified column in the row pointed by iter.
a
a
a The type of specified column must be an MethodSystem.VoidSets the value of the specified column in the row pointed by iter.
a
a
a The type of specified column must be an .MethodSystem.VoidSets the value of the specified column in the row pointed by iter.
a
a
a The type of specified column must be an .MethodSystem.ObjectGets a value at row and column .
a
a a PropertySystem.BooleanFind out whether this TreeStore has a default sort function.a , true if there is a default
sort function.To set a default sort function, use .PropertyGLib.GTypeGType Property.a Returns the native value for .PropertyGLib.GType[]To be addeda To be addedMethodSystem.VoidDeprecated method to set what types go in each column of a TreeStore.
a See MethodGLib.GTypeGets the type of data stored in column number .
a , the column to check
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.Obsolete(Message=null, IsError=False)ConstructorSystem.ParamArrayProtected Constructor.
a Chain to this constructor if you have manually registered a native value for your subclass.MethodSystem.BooleanRemoves a row from the store.
a a After being removed, is set to be the next valid row, or invalidated if it pointed to the last row in the store.MethodSystem.Int32
To be added.
Reorders the TreeStore.a .(FIXME: Does this binding work?)MethodGtk.TreeIter
To be added.
a Inserts a new row at position .a pointing to the new row. If is larger than the number
of rows on the list, then the new row will be appended to the list.
The row will be empty before this function is called. To set the
value of the new row, use .
MethodGtk.TreeIter
To be added.
Adds a new row to the beginning of the tree.a pointing to the new row.
The row will be empty before this function is called. To set the
value of the new row, use .
MethodGtk.TreeIterInserts a new row before .
a
a a
If is , then the row will be appended to the children of its parent. If parent and sibling are , then the row will be appended to the toplevel. If both and parent are set, then parent must be the parent of . When is set, parent is optional.
MethodGtk.TreeIterInserts a new row after .
a
a a
If is , then the row will be prepended to the children of its parent. If parent and sibling are , then the row will be prepended to the toplevel. If both and parent are set, then parent must be the parent of . When is set, parent is optional.
MethodGtk.TreeIterAppends a new row to the .
a a
If parent is , then the row will be prepended to the toplevel.
MethodSystem.Int32Emits the event.
a
a a MethodSystem.VoidGets the value of row of column
and puts 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.ConstructorProtected constructor.MethodGtk.TreeIterAppends a root node to the store.a MethodGtk.TreeIterAppends a child to an existing node.
a a MethodGtk.TreeIterInserts a child of an existing node.
a
a a MethodGtk.TreeIterInserts a root node.
a a MethodGtk.TreeIterPrepends a child of an existing node.
a a MethodGtk.TreeIterPrepends a root node.a MethodGtk.TreeIterInserts a root node before a sibling.
a a MethodGtk.TreeIterInserts a child of an existing node before a sibling.
a
a a MethodGtk.TreeIterInserts a root node after a sibling.
a a MethodGtk.TreeIterInserts a child of an existing node after a sibling.
a
a a MethodSystem.VoidSets a function that should be used to be 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