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

48 lines
2 KiB
XML

<Type Name="PopulatePopupHandler" FullName="Gtk.PopulatePopupHandler">
<TypeSignature Language="C#" Maintainer="auto" Value="public delegate void PopulatePopupHandler(object o, PopulatePopupArgs args);" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed PopulatePopupHandler extends System.MulticastDelegate" />
<AssemblyInfo>
<AssemblyName>gtk-sharp</AssemblyName>
</AssemblyInfo>
<ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
<Base>
<BaseTypeName>System.Delegate</BaseTypeName>
</Base>
<Parameters>
<Parameter Name="o" Type="System.Object" />
<Parameter Name="args" Type="Gtk.PopulatePopupArgs" />
</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:Gtk.Label.PopulatePopup" />
</term>
</item>
<item>
<term>
<see cref="M:Gtk.Entry.PopulatePopup" />
</term>
</item>
<item>
<term>
<see cref="M:Gtk.TextView.PopulatePopup" />
</term>
</item>
</list>
</para>
<para>Event data is passed via the <see cref="T:Gtk.PopulatePopupArgs" /> parameter.</para>
<para>To attach a <see cref="T:Gtk.PopulatePopupHandler" /> to an event, add the PopulatePopupHandler instance to the event. The methods referenced by the PopulatePopupHandler instance are invoked whenever the event is raised, until the PopulatePopupHandler is removed from the event.</para>
</remarks>
</Docs>
<Members />
</Type>