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

25 lines
1.1 KiB
XML

<Type Name="RecentSortFunc" FullName="Gtk.RecentSortFunc">
<TypeSignature Language="C#" Value="public delegate int RecentSortFunc(RecentInfo a, RecentInfo b);" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed RecentSortFunc extends System.MulticastDelegate" />
<AssemblyInfo>
<AssemblyName>gtk-sharp</AssemblyName>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Delegate</BaseTypeName>
</Base>
<Parameters>
<Parameter Name="a" Type="Gtk.RecentInfo" />
<Parameter Name="b" Type="Gtk.RecentInfo" />
</Parameters>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<param name="a">a <see cref="T:Gtk.RecentInfo" /> to sort.</param>
<param name="b">a <see cref="T:Gtk.RecentInfo" /> to sort.</param>
<summary>Recent chooser sorting delegate.</summary>
<returns>A positive integer if <paramref name="a" /> comes before <paramref name="b" />, 0 if they are equal, or a negative value otherwise.</returns>
<remarks>Attach a delegate of this type to <see cref="M:Gtk.RecentChooser.SortFunc" /> for custom sorting.</remarks>
<since version="Gtk# 2.10" />
</Docs>
</Type>