Contributions from Todd Berman
svn path=/trunk/gtk-sharp/; revision=25336
This commit is contained in:
parent
48eea29a81
commit
36b31af926
1 changed files with 21 additions and 9 deletions
|
@ -1182,12 +1182,23 @@ public class TreeViewDemo {
|
||||||
<Parameter Name="attrs" Type="System.Object[]" />
|
<Parameter Name="attrs" Type="System.Object[]" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>Adds a <see cref="T:Gtk.CellRenderer" /> with a specific column title and attributes.</summary>
|
||||||
<param name="title">a <see cref="T:System.String" /></param>
|
<param name="title">column title</param>
|
||||||
<param name="cell">a <see cref="T:Gtk.CellRenderer" /></param>
|
<param name="cell">cell renderer</param>
|
||||||
<param name="attrs">a <see cref="T:System.Object[]" /></param>
|
<param name="attrs">attributes</param>
|
||||||
<returns>a <see cref="T:Gtk.TreeViewColumn" /></returns>
|
<returns>The appended <see cref="T:Gtk.TreeViewColumn" /></returns>
|
||||||
<remarks>To be added</remarks>
|
<remarks>
|
||||||
|
<para>This function is used to append a new <see cref="T:Gtk.CellRenderer" /> subclass with specific attributes to the <see cref="T:Gtl.TreeView" />.</para>
|
||||||
|
<para>
|
||||||
|
The following code sample will append a new <see cref="T:Gtk.CellRendererText" /> to an existing <see cref="T:Gtk.TreeView" /> and use column 0 from the <see cref="T:Gtk.TreeStore" /> as the text to render.
|
||||||
|
</para>
|
||||||
|
<example>
|
||||||
|
<code lang="C#">
|
||||||
|
CellRendererText text = new CellRendererText ();
|
||||||
|
tree_view.AppendColumn ("title", text, "text", 0);
|
||||||
|
</code>
|
||||||
|
</example>
|
||||||
|
</remarks>
|
||||||
</Docs>
|
</Docs>
|
||||||
</Member>
|
</Member>
|
||||||
<Member MemberName="AppendColumn">
|
<Member MemberName="AppendColumn">
|
||||||
|
@ -1241,9 +1252,10 @@ public class TreeViewDemo {
|
||||||
<Parameter Name="path" Type="Gtk.TreePath" />
|
<Parameter Name="path" Type="Gtk.TreePath" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>Expands the treeview so the Path specified is visible.</summary>
|
||||||
<param name="path">a <see cref="T:Gtk.TreePath" /></param>
|
<param name="path">
|
||||||
<remarks>To be added</remarks>
|
<see cref="T:Gtk.TreePath" /> to expand to.</param>
|
||||||
|
<remarks />
|
||||||
</Docs>
|
</Docs>
|
||||||
</Member>
|
</Member>
|
||||||
<Member MemberName="GetCursor">
|
<Member MemberName="GetCursor">
|
||||||
|
|
Loading…
Reference in a new issue