2003-02-12 02:00:12 +00:00
<Type Name= "TreeSortable" FullName= "Gtk.TreeSortable" >
2005-05-23 20:41:51 +00:00
<TypeSignature Language= "C#" Maintainer= "auto" Value= "public interface TreeSortable : GLib.IWrapper" />
2003-02-12 02:00:12 +00:00
<AssemblyInfo >
<AssemblyName > gtk-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2007-12-06 18:37:54 +00:00
<AssemblyVersion > 2.12.0.0</AssemblyVersion>
2003-02-12 02:00:12 +00:00
</AssemblyInfo>
2003-02-23 07:26:30 +00:00
<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>
2003-02-12 02:00:12 +00:00
<Docs >
2004-08-13 16:36:59 +00:00
<summary > An interface for specifying a tree model that is sortable.</summary>
2005-04-16 19:09:15 +00:00
<remarks > See <see cref= "T:Gtk.TreeIterCompareFunc" /> for a working example of a sortable TreeView.</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
<Interfaces >
<Interface >
<InterfaceName > GLib.IWrapper</InterfaceName>
</Interface>
</Interfaces>
<Members >
<Member MemberName= "ChangeSortColumn" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void ChangeSortColumn ();" />
2003-02-12 02:00:12 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-08-24 23:04:07 +00:00
<summary > Fires a <see cref= "E:Gtk.TreeSortable.SortColumnChanged" /> event.</summary>
<remarks > Designed to be called by routines that change the sort of the tree.</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "SetSortColumnId" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void SetSortColumnId (int sort_column_id, Gtk.SortType order);" />
2003-02-12 02:00:12 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "sort_column_id" Type= "System.Int32" />
<Parameter Name= "order" Type= "Gtk.SortType" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-08-24 23:04:07 +00:00
<summary > Sets which column is to be used to sort the data in the tree.</summary>
2004-11-05 21:25:40 +00:00
<param name= "sort_column_id" > A <see cref= "T:System.Int32" /> , the sort column index.</param>
<param name= "order" > A <see cref= "T:Gtk.SortType" /> , the kind of sort to use</param>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "SetSortFunc" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void SetSortFunc (int sort_column_id, Gtk.TreeIterCompareFunc sort_func, IntPtr user_data, Gtk.DestroyNotify destroy);" />
2003-02-12 02:00:12 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "sort_column_id" Type= "System.Int32" />
<Parameter Name= "sort_func" Type= "Gtk.TreeIterCompareFunc" />
<Parameter Name= "user_data" Type= "System.IntPtr" />
<Parameter Name= "destroy" Type= "Gtk.DestroyNotify" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-08-24 23:04:07 +00:00
<summary > Sets a function that should be used to be sort a particular column.</summary>
2004-11-05 21:25:40 +00:00
<param name= "sort_column_id" > A <see cref= "System.Int32" /> , the index of the column to be sorted</param>
<param name= "sort_func" > A <see cref= "TGtk.TreeIterCompareFunc" /> , the function to use for sorting</param>
2005-04-05 14:48:49 +00:00
<param name= "user_data" > ignored</param>
<param name= "destroy" > ignored</param>
2005-04-16 19:09:15 +00:00
<remarks > This overloaded method is obsolete. It is replaced by the SetSortFunc (int, TreeIterCompareFunc) overload." /> .</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
2005-05-04 11:47:25 +00:00
<Member MemberName= "SetDefaultSortFunc" Deprecated= "true" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void SetDefaultSortFunc (Gtk.TreeIterCompareFunc sort_func, IntPtr user_data, Gtk.DestroyNotify destroy);" />
2003-02-12 02:00:12 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "sort_func" Type= "Gtk.TreeIterCompareFunc" />
<Parameter Name= "user_data" Type= "System.IntPtr" />
<Parameter Name= "destroy" Type= "Gtk.DestroyNotify" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2005-04-05 14:48:49 +00:00
<summary > Sets a function to sort columns by default if not otherwise specified by <see cref= "T:Gtk.TreeModelSort.SetSortFunc" /> .</summary>
2004-11-05 21:25:40 +00:00
<param name= "sort_func" > A <see cref= "TGtk.TreeIterCompareFunc" /> , the function to use for sorting</param>
2005-04-05 14:48:49 +00:00
<param name= "user_data" > ignored</param>
<param name= "destroy" > ignored</param>
2005-05-04 11:47:25 +00:00
<remarks > This method is obsolete. It is replaced by the <see cref= "M:Gtk.TreeSortable.DefaultSoftFunc" /> property.</remarks>
</Docs>
</Member>
<Member MemberName= "DefaultSortFunc" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public Gtk.TreeIterCompareFunc DefaultSortFunc { set; };" />
2005-05-04 11:47:25 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.TreeIterCompareFunc</ReturnType>
</ReturnValue>
<Docs >
<summary > Function to sort columns by default if not otherwise specified by <see cref= "T:Gtk.TreeModelSort.SetSortFunc" /> .</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gtk.TreeIterCompareFunc" /> </value>
2005-05-04 11:47:25 +00:00
<remarks > This method is meant to be used together with <see cref= "T:Gtk.TreeModelSort.ChangeSortColumn" /> </remarks>
2005-06-16 18:56:42 +00:00
<since version= "Gtk# 2.4" />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "SortColumnChanged" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public event EventHandler SortColumnChanged;" />
2003-02-12 02:00:12 +00:00
<MemberType > Event</MemberType>
2003-09-17 21:56:59 +00:00
<ReturnValue >
<ReturnType > System.EventHandler</ReturnType>
</ReturnValue>
2003-02-12 02:00:12 +00:00
<Parameters />
<Docs >
2005-09-19 00:36:43 +00:00
<summary > Raised when the sort column is changed.</summary>
2004-11-05 21:25:40 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
2003-10-28 00:48:23 +00:00
<Member MemberName= "GetSortColumnId" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public bool GetSortColumnId (out int sort_column_id, out Gtk.SortType order);" />
2003-10-28 00:48:23 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "sort_column_id" Type= "System.Int32&" RefType= "out" />
<Parameter Name= "order" Type= "Gtk.SortType&" RefType= "out" />
</Parameters>
<Docs >
2004-08-24 23:04:07 +00:00
<summary > Returns the index of the column currently being used to sort the model data.</summary>
<param name= "sort_column_id" > a <see cref= "T:System.Int32&" /> , an integer to put the results in</param>
<param name= "order" > a <see cref= "T:Gtk.SortType&" /> , an object to put the type of sort into</param>
2003-10-28 00:48:23 +00:00
<returns > a <see cref= "T:System.Boolean" /> </returns>
2004-08-24 23:04:07 +00:00
<remarks />
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
2003-11-05 04:30:47 +00:00
<Member MemberName= "HasDefaultSortFunc" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public bool HasDefaultSortFunc { get; };" />
2003-11-05 04:30:47 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-08-24 23:04:07 +00:00
<summary > Return whether this TreeModel has a default sort function or not.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Boolean" /> , true if a default sort function exists.</value>
2004-11-05 21:25:40 +00:00
<remarks > See <see cref= "M:Gtk.TreeModelSort.SetDefaultSortFunc" /> to set a default sort function.</remarks>
2003-11-05 04:30:47 +00:00
</Docs>
</Member>
2005-04-05 14:48:49 +00:00
<Member MemberName= "SetSortFunc" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void SetSortFunc (int sort_column_id, Gtk.TreeIterCompareFunc sort_func);" />
2005-04-05 14:48:49 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "sort_column_id" Type= "System.Int32" />
<Parameter Name= "sort_func" Type= "Gtk.TreeIterCompareFunc" />
</Parameters>
<Docs >
<summary > Sets a function that should be used to be sort a particular column.</summary>
<param name= "sort_column_id" > A <see cref= "System.Int32" /> , the index of the column to be sorted</param>
<param name= "sort_func" > A <see cref= "TGtk.TreeIterCompareFunc" /> , the function to use for sorting</param>
<remarks > This method is meant to be used together with <see cref= "T:Gtk.TreeModelSort.ChangeSortColumn" /> </remarks>
2005-06-16 18:56:42 +00:00
<since version= "Gtk# 2.4" />
2005-04-05 14:48:49 +00:00
</Docs>
</Member>
2003-02-12 02:00:12 +00:00
</Members>
2005-06-17 18:43:30 +00:00
</Type>