gtk/tests
Stefan Jeske c8df83a2fe new enum GtkSortType.
Wed Aug  5 21:12:37 1998  Stefan Jeske  <stefan@gtk.org>

	* gtk/gtkenums.h: new enum GtkSortType.

	* gtk/gtkclist.h:
	* gtk/gtkclist.c:
	Added sorting capabilities to GtkCList. New APIs :
	gtk_clist_set_compare_func, gtk_clist_set_sort_column,
	gtk_clist_set_sort_type, gtk_clist_sort, gtk_clist_set_auto_sort.
	New internal functions : default_compare, merge, mergesort.

	(gtk_clist_append): This is just a wrapper for gtk_clist_insert now.

	(gtk_clist_insert): Modified to handle gtk_clist_append and the
	auto sort flag. Changed the return value from void to gint to
	return the row number where the element was actually inserted.

	(gtk_clist_swap_rows): Return immediately if auto sort flag is set.

	* gtk/gtkctree.h:
	* gtk/gtkctree.c:
	Removed the auto_sort flag, replaced ctree->node_compare with
	clist->compare all over the place, modified default_compare to
	match clist's needs. Removed API´s : gtk_ctree_set_auto_sort,
	gtk_ctree_set_compare_func. Removed GtkCTreeCompareFunc typedef.

	* gtk/testgtk.c: Modified clist/ctree samples to demonstrate
	sorting. The lists can be sorted by a column by clicking the
	corresponding title button.
1998-08-05 20:02:32 +00:00
..
3DRings.xpm Initial revision 1997-11-24 22:37:52 +00:00
circles.xbm gtk/gtktext.c 1998-02-27 06:13:22 +00:00
FilesQueue.xpm Initial revision 1997-11-24 22:37:52 +00:00
marble.xpm Initial revision 1997-11-24 22:37:52 +00:00
Modeller.xpm Initial revision 1997-11-24 22:37:52 +00:00
simple.c configure.in acheader.h gdk/gdkwindow.c Check for Shape extension both on 1998-05-03 22:41:32 +00:00
test.xpm Initial revision 1997-11-24 22:37:52 +00:00
testgtk.1 Added gtk/testgtk.1 man page for testgtk 1998-03-24 04:01:21 +00:00
testgtk.c new enum GtkSortType. 1998-08-05 20:02:32 +00:00
testgtkrc fixup, so that enum values are looked up. 1998-07-27 01:50:16 +00:00
testgtkrc2 fixed lookup order for rc styles. the latest defined rc set pattern is 1998-06-30 12:34:36 +00:00
testinput.c Warning cleanups.. cvsignore stuff 1998-06-09 10:33:56 +00:00
testselection.c Warning cleanups.. cvsignore stuff 1998-06-09 10:33:56 +00:00
testthreads.c Remove --g-fatal-warnings flag from argv. 1998-06-19 01:26:24 +00:00