58b580c26f
* gtk/TreeNodeAttribute.cs : sealed per Ben Maurer's suggestion. * gtk/TreeNodeValueAttribute.cs : ditto svn path=/trunk/gtk-sharp/; revision=19648
25 lines
415 B
C#
25 lines
415 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 sealed class TreeNodeAttribute : Attribute {
|
|
int col_count;
|
|
|
|
public int ColumnCount {
|
|
get {
|
|
return col_count;
|
|
}
|
|
set {
|
|
col_count = value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|