diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-08-05 09:55:01 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-08-05 09:55:01 +0800 |
commit | 5e58fb6edb84a3be2660cf7dcd5bed975a5d6faf (patch) | |
tree | d676e630a97305c437a79836c1596aacd27d6242 /widgets/table/e-table.h | |
parent | ef752b08c06f28eda0f3db8bd56115da8f9a31d8 (diff) | |
download | gsoc2013-evolution-5e58fb6edb84a3be2660cf7dcd5bed975a5d6faf.tar.gz gsoc2013-evolution-5e58fb6edb84a3be2660cf7dcd5bed975a5d6faf.tar.zst gsoc2013-evolution-5e58fb6edb84a3be2660cf7dcd5bed975a5d6faf.zip |
Built code to have autodrags only work from within the table and to report
2000-08-04 Christopher James Lahey <clahey@helixcode.com>
* 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
Diffstat (limited to 'widgets/table/e-table.h')
-rw-r--r-- | widgets/table/e-table.h | 12 |
1 files changed, 9 insertions, 3 deletions
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 { |