912980c396
* 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
25 lines
408 B
C#
25 lines
408 B
C#
// TreeNodeAttribute.cs - Attribute to specify TreeNode information for a class
|
|
//
|
|
// Author: Mike Kestner <mkestner@ximian.com>
|
|
//
|
|
// <c> 2003 Novell, Inc.
|
|
|
|
namespace Gtk {
|
|
|
|
using System;
|
|
|
|
[AttributeUsage(AttributeTargets.Class)]
|
|
public class TreeNodeAttribute : Attribute {
|
|
int col_count;
|
|
|
|
public int ColumnCount {
|
|
get {
|
|
return col_count;
|
|
}
|
|
set {
|
|
col_count = value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|