## EAttachmentView

EAttachmentView

## Synopsis

                        EAttachmentView;
    void                e_attachment_view_init              (EAttachmentView *view);
    void                e_attachment_view_dispose           (EAttachmentView *view);
    void                e_attachment_view_finalize          (EAttachmentView *view);
    EAttachmentViewPrivate * e_attachment_view_get_private  (EAttachmentView *view);
    EAttachmentStore *  e_attachment_view_get_store         (EAttachmentView *view);
    gboolean            e_attachment_view_get_dragging      (EAttachmentView *view);
    void                e_attachment_view_set_dragging      (EAttachmentView *view,
                                                             gboolean dragging);
    gboolean            e_attachment_view_get_editable      (EAttachmentView *view);
    void                e_attachment_view_set_editable      (EAttachmentView *view,
                                                             gboolean editable);
    GtkTargetList *     e_attachment_view_get_target_list   (EAttachmentView *view);
    GdkDragAction       e_attachment_view_get_drag_actions  (EAttachmentView *view);
    void                e_attachment_view_add_drag_actions  (EAttachmentView *view,
                                                             GdkDragAction drag_actions);
    GList *             e_attachment_view_get_selected_attachments
                                                            (EAttachmentView *view);
    void                e_attachment_view_open_path         (EAttachmentView *view,
                                                             GtkTreePath *path,
                                                             GAppInfo *app_info);
    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);
    gboolean            e_attachment_view_motion_notify_event
                                                            (EAttachmentView *view,
                                                             GdkEventMotion *event);
    gboolean            e_attachment_view_key_press_event   (EAttachmentView *view,
                                                             GdkEventKey *event);
    GtkTreePath *       e_attachment_view_get_path_at_pos   (EAttachmentView *view,
                                                             gint x,
                                                             gint y);
    GList *             e_attachment_view_get_selected_paths
                                                            (EAttachmentView *view);
    gboolean            e_attachment_view_path_is_selected  (EAttachmentView *view,
                                                             GtkTreePath *path);
    void                e_attachment_view_select_path       (EAttachmentView *view,
                                                             GtkTreePath *path);
    void                e_attachment_view_unselect_path     (EAttachmentView *view,
                                                             GtkTreePath *path);
    void                e_attachment_view_select_all        (EAttachmentView *view);
    void                e_attachment_view_unselect_all      (EAttachmentView *view);
    void                e_attachment_view_sync_selection    (EAttachmentView *view,
                                                             EAttachmentView *target);
    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);
    void                e_attachment_view_drag_dest_set     (EAttachmentView *view);
    void                e_attachment_view_drag_dest_unset   (EAttachmentView *view);
    gboolean            e_attachment_view_drag_motion       (EAttachmentView *view,
                                                             GdkDragContext *context,
                                                             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,
                                                             gint x,
                                                             gint y,
                                                             GtkSelectionData *selection,
                                                             guint info,
                                                             guint time);
    GtkAction *         e_attachment_view_get_action        (EAttachmentView *view,
                                                             const gchar *action_name);
    GtkActionGroup *    e_attachment_view_add_action_group  (EAttachmentView *view,
                                                             const gchar *group_name);
    GtkActionGroup *    e_attachment_view_get_action_group  (EAttachmentView *view,
                                                             const gchar *group_name);
    GtkWidget *         e_attachment_view_get_popup_menu    (EAttachmentView *view);
    GtkUIManager *      e_attachment_view_get_ui_manager    (EAttachmentView *view);
    void                e_attachment_view_show_popup_menu   (EAttachmentView *view,
                                                             GdkEventButton *event,
                                                             GtkMenuPositionFunc func,
                                                             gpointer user_data);
    void                e_attachment_view_update_actions    (EAttachmentView *view);

## Object Hierarchy

      GInterface
       +----EAttachmentView

## Prerequisites

EAttachmentView requires GtkWidget.

## Known Implementations

EAttachmentView is implemented by EAttachmentBar, EAttachmentIconView, EAttachmentPaned and EAttachmentTreeView.

## Properties

      "dragging"                 gboolean              : Read / Write
      "editable"                 gboolean              : Read / Write / Construct

## Signals

      "update-actions"                                 : Action

## Description

## Details

### EAttachmentView

    typedef struct _EAttachmentView EAttachmentView;

### e_attachment_view_init ()

    void                e_attachment_view_init              (EAttachmentView *view);

### e_attachment_view_dispose ()

    void                e_attachment_view_dispose           (EAttachmentView *view);

### e_attachment_view_finalize ()

    void                e_attachment_view_finalize          (EAttachmentView *view);

### e_attachment_view_get_private ()

    EAttachmentViewPrivate * e_attachment_view_get_private  (EAttachmentView *view);

### e_attachment_view_get_store ()

    EAttachmentStore *  e_attachment_view_get_store         (EAttachmentView *view);

### e_attachment_view_get_dragging ()

    gboolean            e_attachment_view_get_dragging      (EAttachmentView *view);

### e_attachment_view_set_dragging ()

    void                e_attachment_view_set_dragging      (EAttachmentView *view,
                                                             gboolean dragging);

### e_attachment_view_get_editable ()

    gboolean            e_attachment_view_get_editable      (EAttachmentView *view);

### e_attachment_view_set_editable ()

    void                e_attachment_view_set_editable      (EAttachmentView *view,
                                                             gboolean editable);

### e_attachment_view_get_target_list ()

    GtkTargetList *     e_attachment_view_get_target_list   (EAttachmentView *view);

### e_attachment_view_get_drag_actions ()

    GdkDragAction       e_attachment_view_get_drag_actions  (EAttachmentView *view);

### e_attachment_view_add_drag_actions ()

    void                e_attachment_view_add_drag_actions  (EAttachmentView *view,
                                                             GdkDragAction drag_actions);

### e_attachment_view_get_selected_attachments ()

    GList *             e_attachment_view_get_selected_attachments
                                                            (EAttachmentView *view);

### e_attachment_view_open_path ()

    void                e_attachment_view_open_path         (EAttachmentView *view,
                                                             GtkTreePath *path,
                                                             GAppInfo *app_info);

### e_attachment_view_remove_selected ()

    void                e_attachment_view_remove_selected   (EAttachmentView *view,
                                                             gboolean select_next);

### e_attachment_view_button_press_event ()

    gboolean            e_attachment_view_button_press_event
                                                            (EAttachmentView *view,
                                                             GdkEventButton *event);

### e_attachment_view_button_release_event ()

    gboolean            e_attachment_view_button_release_event
                                                            (EAttachmentView *view,
                                                             GdkEventButton *event);

### e_attachment_view_motion_notify_event ()

    gboolean            e_attachment_view_motion_notify_event
                                                            (EAttachmentView *view,
                                                             GdkEventMotion *event);

### e_attachment_view_key_press_event ()

    gboolean            e_attachment_view_key_press_event   (EAttachmentView *view,
                                                             GdkEventKey *event);

### e_attachment_view_get_path_at_pos ()

    GtkTreePath *       e_attachment_view_get_path_at_pos   (EAttachmentView *view,
                                                             gint x,
                                                             gint y);

### e_attachment_view_get_selected_paths ()

    GList *             e_attachment_view_get_selected_paths
                                                            (EAttachmentView *view);

### e_attachment_view_path_is_selected ()

    gboolean            e_attachment_view_path_is_selected  (EAttachmentView *view,
                                                             GtkTreePath *path);

### e_attachment_view_select_path ()

    void                e_attachment_view_select_path       (EAttachmentView *view,
                                                             GtkTreePath *path);

### e_attachment_view_unselect_path ()

    void                e_attachment_view_unselect_path     (EAttachmentView *view,
                                                             GtkTreePath *path);

### e_attachment_view_select_all ()

    void                e_attachment_view_select_all        (EAttachmentView *view);

### e_attachment_view_unselect_all ()

    void                e_attachment_view_unselect_all      (EAttachmentView *view);

### e_attachment_view_sync_selection ()

    void                e_attachment_view_sync_selection    (EAttachmentView *view,
                                                             EAttachmentView *target);

### e_attachment_view_drag_source_set ()

    void                e_attachment_view_drag_source_set   (EAttachmentView *view);

### e_attachment_view_drag_source_unset ()

    void                e_attachment_view_drag_source_unset (EAttachmentView *view);

### e_attachment_view_drag_begin ()

    void                e_attachment_view_drag_begin        (EAttachmentView *view,
                                                             GdkDragContext *context);

### e_attachment_view_drag_end ()

    void                e_attachment_view_drag_end          (EAttachmentView *view,
                                                             GdkDragContext *context);

### e_attachment_view_drag_data_get ()

    void                e_attachment_view_drag_data_get     (EAttachmentView *view,
                                                             GdkDragContext *context,
                                                             GtkSelectionData *selection,
                                                             guint info,
                                                             guint time);

### e_attachment_view_drag_dest_set ()

    void                e_attachment_view_drag_dest_set     (EAttachmentView *view);

### e_attachment_view_drag_dest_unset ()

    void                e_attachment_view_drag_dest_unset   (EAttachmentView *view);

### e_attachment_view_drag_motion ()

    gboolean            e_attachment_view_drag_motion       (EAttachmentView *view,
                                                             GdkDragContext *context,
                                                             gint x,
                                                             gint y,
                                                             guint time);

### e_attachment_view_drag_drop ()

    gboolean            e_attachment_view_drag_drop         (EAttachmentView *view,
                                                             GdkDragContext *context,
                                                             gint x,
                                                             gint y,
                                                             guint time);

### e_attachment_view_drag_data_received ()

    void                e_attachment_view_drag_data_received
                                                            (EAttachmentView *view,
                                                             GdkDragContext *context,
                                                             gint x,
                                                             gint y,
                                                             GtkSelectionData *selection,
                                                             guint info,
                                                             guint time);

### e_attachment_view_get_action ()

    GtkAction *         e_attachment_view_get_action        (EAttachmentView *view,
                                                             const gchar *action_name);

### e_attachment_view_add_action_group ()

    GtkActionGroup *    e_attachment_view_add_action_group  (EAttachmentView *view,
                                                             const gchar *group_name);

### e_attachment_view_get_action_group ()

    GtkActionGroup *    e_attachment_view_get_action_group  (EAttachmentView *view,
                                                             const gchar *group_name);

### e_attachment_view_get_popup_menu ()

    GtkWidget *         e_attachment_view_get_popup_menu    (EAttachmentView *view);

### e_attachment_view_get_ui_manager ()

    GtkUIManager *      e_attachment_view_get_ui_manager    (EAttachmentView *view);

### e_attachment_view_show_popup_menu ()

    void                e_attachment_view_show_popup_menu   (EAttachmentView *view,
                                                             GdkEventButton *event,
                                                             GtkMenuPositionFunc func,
                                                             gpointer user_data);

### e_attachment_view_update_actions ()

    void                e_attachment_view_update_actions    (EAttachmentView *view);

## Property Details

### The `"dragging"` property

      "dragging"                 gboolean              : Read / Write

Default value: FALSE

### The `"editable"` property

      "editable"                 gboolean              : Read / Write / Construct

Default value: TRUE

## Signal Details

### The `"update-actions"` signal

    void                user_function                      (EAttachmentView *eattachmentview,
                                                            gpointer         user_data)            : Action