GtkSharp/doc/en/Gtk/CreateCustomWidgetHandler.xml

29 lines
1.3 KiB
XML
Raw Normal View History

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