mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 14:35:29 +00:00
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
26 lines
399 B
C#
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;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|