GtkSharp/glib/SignalAttribute.cs
Miguel de Icaza f1e095a87b 2003-11-27 Miguel de Icaza <miguel@ximian.com>
* glib/Log.cs: Make LogLevelFlags CLS compliant.

	* glib/SignalCallback.cs: Set the constructor protection level to
	protected, since it can not be instantiate.d

	* glib/Marshaller.cs: Do not allow instances of this class as it
	only exposes static methods.

	* glib/Source.cs, glib/FileUtils.cs, glib/Timeout.cs,
	glib/Thread.cs, glib/Markup.cs, glib/TypeConverter.cs: Ditto.

svn path=/trunk/gtk-sharp/; revision=20573
2003-11-28 05:29:34 +00:00

41 lines
698 B
C#
Raw Blame History

//
// SignalAttribute.cs
//
// Author:
// Ricardo Fern<72>ndez Pascual <ric@users.sourceforge.net>
//
// (C) Ricardo Fern<72>ndez Pascual <ric@users.sourceforge.net>
//
namespace GLib {
using System;
/// <summary>
/// Marks events genrated from glib signals
/// </summary>
///
/// <remarks>
/// This attribute indentifies events generated from glib signals
/// and allows obtaining its original name.
/// </remarks>
[Serializable]
public sealed class SignalAttribute : Attribute
{
private string cname;
public SignalAttribute (string cname)
{
this.cname = cname;
}
private SignalAttribute () {}
public string CName
{
get {
return cname;
}
}
}
}