GtkSharp/gtk/TreeNodeValueAttribute.cs
Mike Kestner 912980c396 2003-11-04 Mike Kestner <mkestner@ximian.com>
* glib/Value.cs : add set to Val prop
	* glue/Makefile.am : build nodestore.c
	* glue/makefile.win32 : link nodestore.o
	* glue/nodestore.c : new, glue for TreeModel implementation
	* gtk/NodeStore.cs : new tree store implementation
	* gtk/ITreeNode.cs : new interface for nodestore node types
	* gtk/TreeNode.cs : abstract class for deriving nodestore nodes
	* gtk/TreeNodeAttribute.cs : tree node marking attr
	* gtk/TreeNodeValueAttribute.cs : node column marking attr
	* gtk/TreeView.custom : add ctor(NodeStore)

svn path=/trunk/gtk-sharp/; revision=19630
2003-11-04 23:20:15 +00:00

26 lines
399 B
C#

// TreeNodeValueAttribute.cs - Attribute to mark properties as TreeNode column values
//
// Author: Mike Kestner <mkestner@ximian.com>
//
// <c> 2003 Novell, Inc.
namespace Gtk {
using System;
[AttributeUsage(AttributeTargets.Property)]
public class TreeNodeValueAttribute : Attribute {
int col;
public int Column {
get {
return col;
}
set {
col = value;
}
}
}
}