GtkSharp/Source/doc/en/GLib/CommandLineHandler.xml
2017-09-04 22:36:28 -03:00

28 lines
1.3 KiB
XML

<Type Name="CommandLineHandler" FullName="GLib.CommandLineHandler">
<TypeSignature Language="C#" Value="public delegate void CommandLineHandler(object o, CommandLineArgs args);" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed CommandLineHandler 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.CommandLineArgs" />
</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:GLib.Application.CommandLine" /> event utilizes this delegate:</para>
<para>Event data is passed via the <see cref="T:GLib.CommandLineArgs" /> parameter.</para>
<para>To attach a <see cref="T:GLib.CommandLineHandler" /> to an event, add the CommandLineHandler instance to the event. The methods referenced by the CommandLineHandler instance are invoked whenever the event is raised, until the CommandLineHandler is removed from the event.</para>
</remarks>
<since version="Gtk# 3.0" />
</Docs>
</Type>