2003-02-12 02:00:12 +00:00
<Type Name= "TreePath" FullName= "Gtk.TreePath" >
2005-05-23 20:41:51 +00:00
<TypeSignature Language= "C#" Maintainer= "auto" Value= "public class TreePath : GLib.Opaque" />
2003-02-12 02:00:12 +00:00
<AssemblyInfo >
<AssemblyName > gtk-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2005-05-23 20:41:51 +00:00
<AssemblyVersion > 2.0.0.0</AssemblyVersion>
2003-02-12 02:00:12 +00:00
</AssemblyInfo>
2003-02-23 07:26:30 +00:00
<ThreadSafetyStatement > Gtk# is thread aware, but not thread safe; See the <link location= "node:gtk-sharp/programming/threads" > Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
2003-02-12 02:00:12 +00:00
<Docs >
2004-08-04 17:10:22 +00:00
<summary > Represents a particular node of a <see cref= "T:Gtk.TreeView" /> .</summary>
<remarks > A TreePath can be converted into either an array of unsigned integers or a string. The string form is a list of numbers separated by a colon. Each number refers to the offset at that level. Thus, the path "0" refers to the root node and the path "2:4" refers to the fifth child of the third node.</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
<Base >
<BaseTypeName > GLib.Opaque</BaseTypeName>
</Base>
<Interfaces >
</Interfaces>
<Members >
<Member MemberName= "NewFirst" >
<MemberSignature Language= "C#" Value= "public static Gtk.TreePath NewFirst ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gtk.TreePath</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-08-04 17:10:22 +00:00
<summary > Creates a new GtkTreePath.</summary>
2003-09-14 20:14:06 +00:00
<returns > an object of type <see cref= "T:Gtk.TreePath" /> </returns>
2004-08-04 17:10:22 +00:00
<remarks > The string representation of this path is "0".</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Copy" >
<MemberSignature Language= "C#" Value= "public Gtk.TreePath Copy ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gtk.TreePath</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-08-04 17:10:22 +00:00
<summary > Copies a TreePath into a new TreePath object.</summary>
<returns > an object of type <see cref= "T:Gtk.TreePath" /> , the new copy</returns>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "IsDescendant" >
<MemberSignature Language= "C#" Value= "public bool IsDescendant (Gtk.TreePath ancestor);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
2003-09-14 20:14:06 +00:00
<Parameter Name= "ancestor" Type= "Gtk.TreePath" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-08-04 17:10:22 +00:00
<summary > Tests whether this TreePath is a descendant of a particular TreePath.</summary>
<param name= "ancestor" > an object of type <see cref= "T:Gtk.TreePath" /> , the potential ancestor to test</param>
<returns > an object of type <see cref= "T:System.Boolean" /> , true if this TreePath is the other TreePath's descendant.</returns>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "IsAncestor" >
<MemberSignature Language= "C#" Value= "public bool IsAncestor (Gtk.TreePath descendant);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
2003-09-14 20:14:06 +00:00
<Parameter Name= "descendant" Type= "Gtk.TreePath" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-08-04 17:10:22 +00:00
<summary > Tests whether this TreePath is an ancestor of a given TreePath</summary>
<param name= "descendant" > an object of type <see cref= "T:Gtk.TreePath" /> , the potential descendant</param>
<returns > an object of type <see cref= "T:System.Boolean" /> , returns true if this TreePath is an ancestor of the given TreePath.</returns>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Down" >
<MemberSignature Language= "C#" Value= "public void Down ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-08-04 17:10:22 +00:00
<summary > Changes this TreePath object to refer to its own first child.</summary>
<remarks > FIXME: make sure this is right.</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Compare" >
<MemberSignature Language= "C#" Value= "public int Compare (Gtk.TreePath b);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters >
2003-09-14 20:14:06 +00:00
<Parameter Name= "b" Type= "Gtk.TreePath" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-08-04 17:10:22 +00:00
<summary > Compares two paths. If this path appears before <see cref= "T:Gtk.TreePath" /> b in a tree, then -1 is returned. If the parameter path appears before this path, then 1 is returned. If the two nodes are equal, then 0 is returned.</summary>
<param name= "b" > an object of type <see cref= "T:Gtk.TreePath" /> , the path to compare</param>
2003-09-14 20:14:06 +00:00
<returns > an object of type <see cref= "T:System.Int32" /> </returns>
2004-08-04 17:10:22 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Free" >
<MemberSignature Language= "C#" Value= "public void Free ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-08-04 17:10:22 +00:00
<summary > Disposes of the TreePath object and any resources it was using.</summary>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Next" >
<MemberSignature Language= "C#" Value= "public void Next ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-08-04 17:10:22 +00:00
<summary > Moves the TreePath to point to the next node at the current depth.</summary>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Prev" >
<MemberSignature Language= "C#" Value= "public bool Prev ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-08-04 17:10:22 +00:00
<summary > Moves the TreePath to point to the previous node at the current depth, if it exists.</summary>
<returns > an object of type <see cref= "T:System.Boolean" /> , true if the path has a previous node and the move was made successfully.</returns>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Up" >
<MemberSignature Language= "C#" Value= "public bool Up ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-08-04 17:10:22 +00:00
<summary > Moves the TreePath to point to its parent node, if it has a parent.</summary>
<returns > an object of type <see cref= "T:System.Boolean" /> , true if the path has a previous node and the move was made successfully.</returns>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public TreePath (IntPtr raw);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
2003-09-14 20:14:06 +00:00
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-23 07:26:30 +00:00
<summary > Internal constructor</summary>
<param name= "raw" > Pointer to the C object.</param>
<remarks >
<para > This is an internal constructor, and should not be used by user code.</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public TreePath ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
2004-08-04 17:10:22 +00:00
<summary > Constructor; builds an empty TreePath.</summary>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public TreePath (string path);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
2003-09-14 20:14:06 +00:00
<Parameter Name= "path" Type= "System.String" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-09-14 20:14:06 +00:00
<summary > Creates a new <see cref= "T:Gtk.TreePath" /> object.</summary>
<param name= "path" > an object of type <see cref= "T:System.String" /> </param>
<remarks > The <paramref name= "path" /> is expressed in the form "3:2:5". The toplevel or root path would thus be "0".</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Depth" >
<MemberSignature Language= "C#" Value= "public int Depth { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Docs >
2004-08-04 17:10:22 +00:00
<summary > Returns the current depth of the TreePath.</summary>
2005-05-23 20:41:51 +00:00
<value > an object of type <see cref= "T:System.Int32" /> </value>
2004-08-04 17:10:22 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
2003-07-17 06:38:40 +00:00
<Member MemberName= "PrependIndex" >
<MemberSignature Language= "C#" Value= "public void PrependIndex (int index_);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-14 20:14:06 +00:00
<Parameter Name= "index_" Type= "System.Int32" />
</Parameters>
2003-07-17 06:38:40 +00:00
<Docs >
2004-08-04 17:10:22 +00:00
<summary > Prepends a new index to a path. As a result, the depth of the path is increased.</summary>
<param name= "index_" > a <see cref= "T:System.Int32" /> , the index to prepend</param>
<remarks />
2003-07-17 06:38:40 +00:00
</Docs>
</Member>
<Member MemberName= "AppendIndex" >
<MemberSignature Language= "C#" Value= "public void AppendIndex (int index_);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-14 20:14:06 +00:00
<Parameter Name= "index_" Type= "System.Int32" />
</Parameters>
2003-07-17 06:38:40 +00:00
<Docs >
2004-08-04 17:10:22 +00:00
<summary > Appends a new index to a path. As a result, the depth of the path is increased.</summary>
<param name= "index_" > a <see cref= "T:System.Int32" /> , the index to append</param>
<remarks />
2003-07-17 06:38:40 +00:00
</Docs>
</Member>
2003-10-12 09:06:39 +00:00
<Member MemberName= "Indices" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public int[] Indices { get; };" />
2003-10-12 09:06:39 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-08-04 17:10:22 +00:00
<summary > Returns the current indices of the TreePath. This is an array of integers, each representing a node in a tree. This value should not be freed.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Int32[]" /> </value>
2004-08-04 17:10:22 +00:00
<remarks />
2003-10-12 09:06:39 +00:00
</Docs>
</Member>
2003-12-24 01:35:30 +00:00
<Member MemberName= "GType" >
<MemberSignature Language= "C#" Value= "public static GLib.GType GType { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > GLib.GType</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-06-21 20:14:42 +00:00
<summary > GType Property.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:GLib.GType" /> </value>
2004-06-21 20:14:42 +00:00
<remarks > Returns the native <see cref= "T:GLib.GType" /> value for <see cref= "T:Gtk.TreePath" /> .</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
2005-04-12 03:39:23 +00:00
<Member MemberName= ".ctor" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public TreePath (int[] indices);" />
2005-04-12 03:39:23 +00:00
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "indices" Type= "System.Int32[]" />
</Parameters>
<Docs >
<summary > Creates a path for a set of indices.</summary>
<param name= "indices" > a <see cref= "T:System.Int32" /> </param>
<remarks />
2005-06-16 18:56:42 +00:00
<since version= "Gtk# 2.4" />
2005-04-12 03:39:23 +00:00
</Docs>
</Member>
2003-02-12 02:00:12 +00:00
</Members>
2005-06-16 18:56:42 +00:00
</Type>