GtkSharp/Source/doc/en/GLib/ActionAddedHandler.xml

43 lines
1.6 KiB
XML
Raw Normal View History

<Type Name="ActionAddedHandler" FullName="GLib.ActionAddedHandler">
<TypeSignature Language="C#" Value="public delegate void ActionAddedHandler(object o, ActionAddedArgs args);" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed ActionAddedHandler extends System.MulticastDelegate" />
<AssemblyInfo>
<AssemblyName>gio-sharp</AssemblyName>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Delegate</BaseTypeName>
</Base>
<Parameters>
<Parameter Name="o" Type="System.Object" />
<Parameter Name="args" Type="GLib.ActionAddedArgs" />
</Parameters>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Docs>
<param name="o">Event sender.</param>
<param name="args">Event arguments.</param>
<summary>Event handler.</summary>
<remarks>
<para>The following events utilize this delegate:</para>
<para>
<list type="bullet">
<item>
<term>
<see cref="M:GLib.Application.ActionAdded" />
</term>
</item>
<item>
<term>
<see cref="M:GLib.SimpleActionGroup.ActionAdded" />
</term>
</item>
</list>
</para>
<para>Event data is passed via the <see cref="T:GLib.ActionAddedArgs" /> parameter.</para>
<para>To attach a <see cref="T:GLib.ActionAddedHandler" /> to an event, add the ActionAddedHandler instance to the event. The methods referenced by the ActionAddedHandler instance are invoked whenever the event is raised, until the ActionAddedHandler is removed from the event.</para>
</remarks>
<since version="Gtk# 3.0" />
</Docs>
</Type>