<Type Name="SignalAttribute" FullName="GLib.SignalAttribute">
  <TypeSignature Language="C#" Value="public class SignalAttribute : System.Attribute" Maintainer="auto" />
  <AssemblyInfo>
    <AssemblyName>glib-sharp</AssemblyName>
    <AssemblyPublicKey>
    </AssemblyPublicKey>
    <AssemblyVersion>0.0.0.0</AssemblyVersion>
    <AssemblyCulture>neutral</AssemblyCulture>
    <Attributes />
  </AssemblyInfo>
  <ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
  <Docs>
    <summary>Marks events generated from <see cref="T:GLib.Object" /> signals</summary>
    <remarks>
      <para>
This attribute indentifies events generated from <see cref="N:GLib" /> signals and allows obtaining its original name.
</para>
      <example>
        <code lang="C#">
[GLib.Signal("destroy")]
public event System.EventHandler Destroyed {  add; remove; }
</code>
      </example>
    </remarks>
  </Docs>
  <Base>
    <BaseTypeName>System.Attribute</BaseTypeName>
  </Base>
  <Interfaces />
  <Attributes />
  <Members>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public SignalAttribute (string cname);" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters>
        <Parameter Name="cname" Type="System.String" />
      </Parameters>
      <Docs>
        <summary>Public Constructor.</summary>
        <param name="cname">a <see cref="T:System.String" /> containing the C name of the signal.</param>
        <returns>an object of type <see cref="T:GLib.SignalAttribute" /></returns>
        <remarks />
      </Docs>
    </Member>
    <Member MemberName="CName">
      <MemberSignature Language="C#" Value="public string CName { get; };" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>The C name of the signal.</summary>
        <returns>the C name of the signal as a <see cref="T:System.String" /></returns>
        <remarks />
      </Docs>
    </Member>
  </Members>
</Type>