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