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

29 lines
1.3 KiB
XML
Raw Normal View History

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