mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-01-13 22:15:27 +00:00
3841924432
* glade/XML.custom: New method BindFields. (Autoconnect): Call BindFields. * glade/GladeWidgetAttribute.cs: Added. * sample/GladeTest.cs: Test GladeWidgetAttribute. svn path=/trunk/gtk-sharp/; revision=10048
27 lines
400 B
C#
27 lines
400 B
C#
// GladeWidgetAttribute.cs
|
|
//
|
|
// Author: Rachel Hestilow <hestilow@ximian.com>
|
|
//
|
|
// (c) 2003 Rachel Hestilow
|
|
|
|
namespace Glade {
|
|
using System;
|
|
|
|
[AttributeUsage (AttributeTargets.Field)]
|
|
public class GladeWidgetAttribute : Attribute
|
|
{
|
|
private string name;
|
|
|
|
public GladeWidgetAttribute (string name)
|
|
{
|
|
this.name = name;
|
|
}
|
|
|
|
public string Name
|
|
{
|
|
get { return name; }
|
|
}
|
|
}
|
|
}
|
|
|