GtkSharp/glib/SignalAttribute.cs
Ricardo Fernández Pascual f1011f687e 2002-09-13 Ricardo Fernndez Pascual <ric@users.sourceforge.net>
* glade/HandlerNotFoundExeception.cs: Added.
	* glade/Makefile.in
	* glade/XML.custom: Support for autoconnecting signals using
	reflection.
	* glib/SignalAttribute.cs: Added.
	* generator/Signal.cs: Mark events generated from glib signals
	with the "Signal" attribute.
	* sample/GladeTest.cs
	* sample/Makefile.in
	* sample/test.glade: Test of signal autoconnection.

svn path=/trunk/gtk-sharp/; revision=7430
2002-09-13 11:38:36 +00:00

41 lines
691 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 class SignalAttribute : Attribute
{
private string cname;
public SignalAttribute (string cname)
{
this.cname = cname;
}
private SignalAttribute () {}
public string CName
{
get {
return cname;
}
}
}
}