* en/Gtk/NodeStore.xml (AddNode):
* en/Gtk/TreeNode.xml (AddChild): I, for one, welcome our new insert overloads. * en/Gtk/TreeNodeRemovedHandler.xml: add "child" arg svn path=/trunk/gtk-sharp/; revision=41846
This commit is contained in:
parent
113a9460c4
commit
415773f269
4 changed files with 56 additions and 6 deletions
|
@ -1,3 +1,11 @@
|
|||
2005-03-15 Dan Winship <danw@novell.com>
|
||||
|
||||
* en/Gtk/NodeStore.xml (AddNode):
|
||||
* en/Gtk/TreeNode.xml (AddChild): I, for one, welcome our new
|
||||
insert overloads.
|
||||
|
||||
* en/Gtk/TreeNodeRemovedHandler.xml: add "child" arg
|
||||
|
||||
2005-02-23 Dan Winship <danw@novell.com>
|
||||
|
||||
* en/GnomeDb/EditorClass.xml: gone
|
||||
|
|
|
@ -11,7 +11,8 @@
|
|||
<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>
|
||||
<Docs>
|
||||
<summary>Tree and List store for <see cref="T:Gtk.ITreeNode" /> objects.</summary>
|
||||
<remarks></remarks>
|
||||
<remarks>
|
||||
</remarks>
|
||||
</Docs>
|
||||
<Base>
|
||||
<BaseTypeName>GLib.Object</BaseTypeName>
|
||||
|
@ -36,13 +37,33 @@
|
|||
<Parameter Name="node" Type="Gtk.ITreeNode" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>AddNode method</summary>
|
||||
<summary>Appends the node to the root level of the tree</summary>
|
||||
<param name="node">a <see cref="T:Gtk.ITreeNode" /></param>
|
||||
<remarks>
|
||||
Adds <paramref name="node" /> to the end of the list of root level nodes.
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="AddNode">
|
||||
<MemberSignature Language="C#" Value="public void AddNode (Gtk.ITreeNode node, int position);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Void</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="node" Type="Gtk.ITreeNode" />
|
||||
<Parameter Name="position" Type="System.Int32" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Inserts the node into the root level of the tree</summary>
|
||||
<param name="node">a <see cref="T:Gtk.ITreeNode" /></param>
|
||||
<param name="position">the position to insert it at</param>
|
||||
<remarks>
|
||||
Adds <paramref name="node" /> to the list of root level nodes before the node
|
||||
currently at <paramref name="position" />.
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="GetNode">
|
||||
<MemberSignature Language="C#" Value="public Gtk.ITreeNode GetNode (Gtk.TreePath path);" />
|
||||
<MemberType>Method</MemberType>
|
||||
|
@ -110,4 +131,4 @@
|
|||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
||||
</Type>
|
|
@ -215,7 +215,7 @@ public class MyTreeNode : TreeNode {
|
|||
<Parameter Name="child" Type="Gtk.TreeNode" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>AddChild method</summary>
|
||||
<summary>Appends a child to the node</summary>
|
||||
<param name="child">a <see cref="T:Gtk.TreeNode" /></param>
|
||||
<remarks>Adds the specified <paramref name="child" /> to this <see cref="T:Gtk.ITreeNode" />.
|
||||
The <paramref name="child" /> is added to the end of the children list, the
|
||||
|
@ -223,6 +223,27 @@ public class MyTreeNode : TreeNode {
|
|||
this node, and the <see cref="E:Gtk.TreeNode.ChildAdded" /> event is raised.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="AddChild">
|
||||
<MemberSignature Language="C#" Value="public void AddChild (Gtk.TreeNode child, int position);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Void</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="child" Type="Gtk.TreeNode" />
|
||||
<Parameter Name="position" Type="System.Int32" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Inserts a child at the given position</summary>
|
||||
<param name="child">a <see cref="T:Gtk.TreeNode" /></param>
|
||||
<param name="position">Position among the node's children to insert <paramref name="child" /></param>
|
||||
<remarks>Adds the specified <paramref name="child" /> to this <see cref="T:Gtk.ITreeNode" />.
|
||||
The <paramref name="child" /> is added to the children list before the child currently
|
||||
at position <paramref name="position" />, the <see cref="P:Gtk.TreeNode.Parent" />
|
||||
property of <paramref name="child" /> is set to this node, and the
|
||||
<see cref="E:Gtk.TreeNode.ChildAdded" /> event is raised.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="RemoveChild">
|
||||
<MemberSignature Language="C#" Value="public void RemoveChild (Gtk.TreeNode child);" />
|
||||
<MemberType>Method</MemberType>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<Type Name="TreeNodeRemovedHandler" FullName="Gtk.TreeNodeRemovedHandler">
|
||||
<TypeSignature Language="C#" Value="public sealed delegate void TreeNodeRemovedHandler (object o, int old_position);" Maintainer="Mike Kestner" />
|
||||
<TypeSignature Language="C#" Maintainer="Mike Kestner" Value="public sealed delegate void TreeNodeRemovedHandler (object o, Gtk.ITreeNode child, int old_position);" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>gtk-sharp</AssemblyName>
|
||||
<AssemblyPublicKey>
|
||||
|
@ -14,7 +14,7 @@
|
|||
<remarks>
|
||||
Event handler for notification of the removal of a child node. The node is already
|
||||
removed when the event is raised, so <paramref name="old_position" /> points to the
|
||||
former position of the removed node in the child list of <paramref name="o" />.
|
||||
former position of <paramref name="child" /> in the child list of <paramref name="o" />.
|
||||
</remarks>
|
||||
</Docs>
|
||||
<Base>
|
||||
|
|
Loading…
Reference in a new issue