GtkSharp/Source/OldStuff/doc/en/Gtk/MenuActivateHandler.xml

28 lines
1.3 KiB
XML

<Type Name="MenuActivateHandler" FullName="Gtk.MenuActivateHandler">
<TypeSignature Language="C#" Value="public delegate void MenuActivateHandler(object o, MenuActivateArgs args);" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed MenuActivateHandler extends System.MulticastDelegate" />
<AssemblyInfo>
<AssemblyName>gtk-sharp</AssemblyName>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Delegate</BaseTypeName>
</Base>
<Parameters>
<Parameter Name="o" Type="System.Object" />
<Parameter Name="args" Type="Gtk.MenuActivateArgs" />
</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 <see cref="M:Gtk.TreeMenu.MenuActivate" /> event utilizes this delegate:</para>
<para>Event data is passed via the <see cref="T:Gtk.MenuActivateArgs" /> parameter.</para>
<para>To attach a <see cref="T:Gtk.MenuActivateHandler" /> to an event, add the MenuActivateHandler instance to the event. The methods referenced by the MenuActivateHandler instance are invoked whenever the event is raised, until the MenuActivateHandler is removed from the event.</para>
</remarks>
<since version="Gtk# 3.0" />
</Docs>
</Type>