diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2009-03-30 11:38:36 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2009-03-30 11:38:36 +0800 |
commit | 8a1f639a670696e71daac8305ae0823668d29a14 (patch) | |
tree | 3b7c8ec8f856095865211a40ebcaf33ca572d94f /widgets/misc/e-attachment-view.h | |
parent | bc4f60ba176b64cc8fd8ffa47a01542f8eb25bdf (diff) | |
download | gsoc2013-evolution-8a1f639a670696e71daac8305ae0823668d29a14.tar gsoc2013-evolution-8a1f639a670696e71daac8305ae0823668d29a14.tar.gz gsoc2013-evolution-8a1f639a670696e71daac8305ae0823668d29a14.tar.bz2 gsoc2013-evolution-8a1f639a670696e71daac8305ae0823668d29a14.tar.lz gsoc2013-evolution-8a1f639a670696e71daac8305ae0823668d29a14.tar.xz gsoc2013-evolution-8a1f639a670696e71daac8305ae0823668d29a14.tar.zst gsoc2013-evolution-8a1f639a670696e71daac8305ae0823668d29a14.zip |
Saving progress again on the attachment rewrite.
svn path=/branches/kill-bonobo/; revision=37482
Diffstat (limited to 'widgets/misc/e-attachment-view.h')
-rw-r--r-- | widgets/misc/e-attachment-view.h | 45 |
1 files changed, 44 insertions, 1 deletions
diff --git a/widgets/misc/e-attachment-view.h b/widgets/misc/e-attachment-view.h index 96a0f2dc16..d33ad951ac 100644 --- a/widgets/misc/e-attachment-view.h +++ b/widgets/misc/e-attachment-view.h @@ -72,6 +72,19 @@ struct _EAttachmentViewIface { GtkTreePath *path); void (*select_all) (EAttachmentView *view); void (*unselect_all) (EAttachmentView *view); + + /* Drag and Drop Methods */ + void (*drag_source_set) (EAttachmentView *view, + GdkModifierType start_button_mask, + const GtkTargetEntry *targets, + gint n_targets, + GdkDragAction actions); + void (*drag_dest_set) (EAttachmentView *view, + const GtkTargetEntry *targets, + gint n_targets, + GdkDragAction actions); + void (*drag_source_unset) (EAttachmentView *view); + void (*drag_dest_unset) (EAttachmentView *view); }; struct _EAttachmentViewPrivate { @@ -114,6 +127,13 @@ void e_attachment_view_remove_selected (EAttachmentView *view, gboolean select_next); +gboolean e_attachment_view_button_press_event + (EAttachmentView *view, + GdkEventButton *event); +gboolean e_attachment_view_button_release_event + (EAttachmentView *view, + GdkEventButton *event); + /* Selection Management */ GtkTreePath * e_attachment_view_get_path_at_pos (EAttachmentView *view, @@ -133,7 +153,25 @@ void e_attachment_view_unselect_all (EAttachmentView *view); void e_attachment_view_sync_selection(EAttachmentView *view, EAttachmentView *target); -/* Drag and Drop Support */ +/* Drag Source Support */ +void e_attachment_view_drag_source_set + (EAttachmentView *view); +void e_attachment_view_drag_source_unset + (EAttachmentView *view); +void e_attachment_view_drag_begin (EAttachmentView *view, + GdkDragContext *context); +void e_attachment_view_drag_end (EAttachmentView *view, + GdkDragContext *context); +void e_attachment_view_drag_data_get (EAttachmentView *view, + GdkDragContext *context, + GtkSelectionData *selection, + guint info, + guint time); + +/* Drag Destination Support */ +void e_attachment_view_drag_dest_set (EAttachmentView *view); +void e_attachment_view_drag_dest_unset + (EAttachmentView *view); void e_attachment_view_drag_action (EAttachmentView *view, GdkDragAction action); gboolean e_attachment_view_drag_motion (EAttachmentView *view, @@ -141,6 +179,11 @@ gboolean e_attachment_view_drag_motion (EAttachmentView *view, gint x, gint y, guint time); +gboolean e_attachment_view_drag_drop (EAttachmentView *view, + GdkDragContext *context, + gint x, + gint y, + guint time); void e_attachment_view_drag_data_received (EAttachmentView *view, GdkDragContext *context, |