gtk-sharp 2.6.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. 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 { ... } In the following example, the class MyListNode is tagged as a node with 2 columns and no child nodes: [TreeNode(ColumnCount=2, ListOnly=true)] public class MyListNode : ITreeNode { ... } System.Attribute System.AttributeUsage(AllowMultiple=False, Inherited=True, ValidOn=System.AttributeTargets.Class) Constructor TreeNodeAttribute constructor Instantiates a Property System.Int32 ColumnCount named value. a 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. System.Obsolete(Message="This is no longer needed; it gets detected by Gtk#", IsError=False) Property System.Boolean ListOnly named value. a Specifies if the node can have children. For list views, this tells the NodeStore that it is non-hierarchical and it can expose flags so that the NodeView doesn't include space for expanders in the column layout.