New function to let user control where columns are dragged.

Wed May  9 15:27:22 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_set_column_drag_function): New
	function to let user control where columns are dragged.

	* gtk/gtktreeview.c (gtk_tree_view_key_press): Cancel drags if
	Escape is pressed.
This commit is contained in:
Jonathan Blandford
2001-05-09 22:23:12 +00:00
committed by Jonathan Blandford
parent 9b490708ed
commit 6e70564088
10 changed files with 135 additions and 7 deletions

View File

@ -130,6 +130,8 @@ struct _GtkTreeViewPrivate
gint header_height;
GtkTreeViewColumnDropFunc *column_drop_func;
gpointer column_drop_func_data;
GtkDestroyNotify column_drop_func_data_destroy;
GList *column_drag_info;
GtkTreeViewColumnReorder *cur_reorder;