From 5e58fb6edb84a3be2660cf7dcd5bed975a5d6faf Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Sat, 5 Aug 2000 01:55:01 +0000 Subject: Built code to have autodrags only work from within the table and to report 2000-08-04 Christopher James Lahey * e-table.c, e-table.h: Built code to have autodrags only work from within the table and to report the row dragged from automatically. svn path=/trunk/; revision=4542 --- widgets/table/e-table.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'widgets/table/e-table.h') diff --git a/widgets/table/e-table.h b/widgets/table/e-table.h index 8b41407d1a..6f4fe153c6 100644 --- a/widgets/table/e-table.h +++ b/widgets/table/e-table.h @@ -21,6 +21,8 @@ BEGIN_GNOME_DECLS #define E_IS_TABLE(o) (GTK_CHECK_TYPE ((o), E_TABLE_TYPE)) #define E_IS_TABLE_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_TYPE)) +typedef struct _ETableDragSourceSite ETableDragSourceSite; + typedef enum { E_TABLE_CURSOR_LOC_NONE = 0, E_TABLE_CURSOR_LOC_ETCTA = 1 << 0, @@ -77,11 +79,15 @@ typedef struct { int drag_get_data_row; int drag_get_data_col; - int drag_row; - int drag_col; - int drop_row; int drop_col; + + int drag_row; + int drag_col; + ETableDragSourceSite *site; + + int drag_source_button_press_event_id; + int drag_source_motion_notify_event_id; } ETable; typedef struct { -- cgit v1.2.3