Added some information about sorting
This commit is contained in:
parent
cfb0266518
commit
25ae5a77a2
@ -1,3 +1,7 @@
|
|||||||
|
1999-09-22 Martin Norbäck <d95mback@dtek.chalmers.se>
|
||||||
|
|
||||||
|
* gtk/tmpl/gtkclist.sgml: Added information about the sorting functions
|
||||||
|
|
||||||
Tue Oct 26 16:50:15 1999 Owen Taylor <otaylor@redhat.com>
|
Tue Oct 26 16:50:15 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/tmpl/gtkrc.sgml: Added information about widget
|
* gtk/tmpl/gtkrc.sgml: Added information about widget
|
||||||
|
@ -959,46 +959,52 @@ automatically to data in the row.
|
|||||||
|
|
||||||
<!-- ##### FUNCTION gtk_clist_set_compare_func ##### -->
|
<!-- ##### FUNCTION gtk_clist_set_compare_func ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Sets the compare function of the #GtkClist to cmp_func. If cmp_func is NULL,
|
||||||
|
then the default compare function is used. The default compare function sorts
|
||||||
|
ascending or with the type set by gtk_clist_set_sort_type() by the column set
|
||||||
|
by gtk_clist_set_sort_column().
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@clist: The #GtkCList to affect.
|
@clist: The #GtkCList to affect.
|
||||||
@cmp_func:
|
@cmp_func: The #GtkCompareFunction to use.
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gtk_clist_set_sort_column ##### -->
|
<!-- ##### FUNCTION gtk_clist_set_sort_column ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Sets the sort column of the clist. The sort column is used by the
|
||||||
|
default compare function to determine which column to sort by.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@clist: The #GtkCList to affect.
|
@clist: The #GtkCList to affect.
|
||||||
@column:
|
@column: The column to sort by
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gtk_clist_set_sort_type ##### -->
|
<!-- ##### FUNCTION gtk_clist_set_sort_type ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Sets the sort type of the #GtkClist. This is either GTK_SORT_ASCENDING for
|
||||||
|
ascening sort or GTK_SORT_DESCENDING for descending sort.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@clist: The #GtkCList to affect.
|
@clist: The #GtkCList to affect.
|
||||||
@sort_type:
|
@sort_type: the #GtkSortType to use
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gtk_clist_sort ##### -->
|
<!-- ##### FUNCTION gtk_clist_sort ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Sorts the #GtkClist according to the current compare function, which
|
||||||
|
can be set with the gtk_clist_set_compare_func() function.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@clist: The #GtkCList to affect.
|
@clist: The #GtkCList to sort.
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gtk_clist_set_auto_sort ##### -->
|
<!-- ##### FUNCTION gtk_clist_set_auto_sort ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Turns on or off auto sort of the #GtkCList. If auto sort is on, then the CList will be resorted when a row is inserted into the CList.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@clist: The #GtkCList to affect.
|
@clist: The #GtkCList to affect.
|
||||||
@auto_sort:
|
@auto_sort: whether auto sort should be on or off
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gtk_clist_columns_autosize ##### -->
|
<!-- ##### FUNCTION gtk_clist_columns_autosize ##### -->
|
||||||
|
Loading…
Reference in New Issue
Block a user