GtkSharp/doc/en/Gtk/PopulatePopupHandler.xml

49 lines
1.9 KiB
XML
Raw Normal View History

<Type Name="PopulatePopupHandler" FullName="Gtk.PopulatePopupHandler">
<TypeSignature Language="C#" Maintainer="auto" Value="public delegate void PopulatePopupHandler(object o, Gtk.PopulatePopupArgs args);" />
<AssemblyInfo>
<AssemblyName>gtk-sharp</AssemblyName>
<AssemblyVersion>2.8.0.0</AssemblyVersion>
</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>
<Docs>
<param name="o">To be added.</param>
<param name="args">To be added.</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>
<Base>
<BaseTypeName>System.Delegate</BaseTypeName>
</Base>
<Members />
<Parameters>
<Parameter Name="o" Type="System.Object" />
<Parameter Name="args" Type="Gtk.PopulatePopupArgs" />
</Parameters>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
</Type>