diff options
author | Jonathan Blandford <jrb@redhat.com> | 2001-05-09 22:23:12 +0000 |
---|---|---|
committer | Jonathan Blandford <jrb@src.gnome.org> | 2001-05-09 22:23:12 +0000 |
commit | 6e70564088058293c0e81094240b1fb10c74defe (patch) | |
tree | 5147217598f8086418742b06b58f4aa123421248 /gtk/gtktreeview.h | |
parent | 9b490708ed34bbcfd327c26cb83f20386b782116 (diff) | |
download | gtk+-6e70564088058293c0e81094240b1fb10c74defe.tar.gz |
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.
Diffstat (limited to 'gtk/gtktreeview.h')
-rw-r--r-- | gtk/gtktreeview.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtktreeview.h b/gtk/gtktreeview.h index e9b65b0222..9d2131eb7c 100644 --- a/gtk/gtktreeview.h +++ b/gtk/gtktreeview.h @@ -146,6 +146,10 @@ void gtk_tree_view_move_column_after (GtkTreeView void gtk_tree_view_set_expander_column (GtkTreeView *tree_view, gint col); gint gtk_tree_view_get_expander_column (GtkTreeView *tree_view); +void gtk_tree_view_set_column_drag_function (GtkTreeView *tree_view, + GtkTreeViewColumnDropFunc func, + gpointer user_data, + GtkDestroyNotify destroy); /* Actions */ void gtk_tree_view_scroll_to_point (GtkTreeView *tree_view, |