From 7513a7625b3c6b084f5651fb6c71d40077dad3d6 Mon Sep 17 00:00:00 2001 From: Mike Kestner Date: Wed, 5 Nov 2003 21:28:19 +0000 Subject: [PATCH] 2003-11-05 Mike Kestner * en/Gtk/TreeNodeAttribute.xml : documented * en/Gtk/TreeNodeValueAttribute.xml : documented svn path=/trunk/gtk-sharp/; revision=19649 --- doc/ChangeLog | 5 +++ doc/en/Gtk/TreeNodeAttribute.xml | 44 +++++++++++++++++++++------ doc/en/Gtk/TreeNodeValueAttribute.xml | 40 ++++++++++++++++++------ 3 files changed, 71 insertions(+), 18 deletions(-) diff --git a/doc/ChangeLog b/doc/ChangeLog index bd12702ad..43face4fa 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2003-11-05 Mike Kestner + + * en/Gtk/TreeNodeAttribute.xml : documented + * en/Gtk/TreeNodeValueAttribute.xml : documented + 2003-11-04 John Luke * en/*/*.xml: run updater diff --git a/doc/en/Gtk/TreeNodeAttribute.xml b/doc/en/Gtk/TreeNodeAttribute.xml index 054b242d2..b6f9e8cfe 100644 --- a/doc/en/Gtk/TreeNodeAttribute.xml +++ b/doc/en/Gtk/TreeNodeAttribute.xml @@ -1,5 +1,5 @@ - + gtk-sharp @@ -7,10 +7,31 @@ neutral - + Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added - To be added + An attribute to specify tree node information of a class. + + + This attribute can be applied to a class which implements the + interface to provide additional information + about the node type to the which will contain + the nodes. + + + In the following example, the class MyTreeNode is tagged as + a tree node with 3 columns: + + + [TreeNode(ColumnCount=3)] + public class MyTreeNode : ITreeNode { + + ... + + } + + + + System.Attribute @@ -28,9 +49,9 @@ - To be added + TreeNodeAttribute constructor a - To be added + Instantiates a @@ -41,10 +62,15 @@ - To be added + ColumnCount named value. a - To be added + + Specifies the number of columns the node exposes. A + + should be added to each of the properties of the class which represent + the individual column values. + - \ No newline at end of file + diff --git a/doc/en/Gtk/TreeNodeValueAttribute.xml b/doc/en/Gtk/TreeNodeValueAttribute.xml index f912939dc..d7a2e4ca6 100644 --- a/doc/en/Gtk/TreeNodeValueAttribute.xml +++ b/doc/en/Gtk/TreeNodeValueAttribute.xml @@ -1,5 +1,5 @@ - + gtk-sharp @@ -7,10 +7,29 @@ neutral - + >Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added - To be added + An attribute to identify a property as a tree node column value. + + + This attribute is applied to a property of a tree node class to + indicate that the property holds a column value of the node. + + + In the following example, the Frombulator property is tagged as Column 2 + of the node which implements it: + + + + [TreeNodeValue(Column=2)] + public string Frombulator { + get { + return frombulator; + } + } + + + System.Attribute @@ -28,9 +47,9 @@ - To be added + TreeNodeValueAttribute constructor a - To be added + Instantiates a @@ -41,10 +60,13 @@ - To be added + Column named value a - To be added + + The column number of the value which is exposed by the property + this marks. + - \ No newline at end of file +