EAttachmentView: Evolution Utilities Reference Manual

## EAttachmentView EAttachmentView |

## Functions

void | e_attachment_view_init ()
void | e_attachment_view_dispose ()
void | e_attachment_view_finalize ()
EAttachmentViewPrivate * | e_attachment_view_get_private ()
EAttachmentStore * | e_attachment_view_get_store ()
gboolean | e_attachment_view_get_dragging ()
void | e_attachment_view_set_dragging ()
gboolean | e_attachment_view_get_editable ()
void | e_attachment_view_set_editable ()
GtkTargetList * | e_attachment_view_get_target_list ()
GdkDragAction | e_attachment_view_get_drag_actions ()
void | e_attachment_view_add_drag_actions ()
GList * | e_attachment_view_get_selected_attachments ()
void | e_attachment_view_open_path ()
void | e_attachment_view_remove_selected ()
gboolean | e_attachment_view_button_press_event ()
gboolean | e_attachment_view_button_release_event ()
gboolean | e_attachment_view_motion_notify_event ()
gboolean | e_attachment_view_key_press_event ()
GtkTreePath * | e_attachment_view_get_path_at_pos ()
GList * | e_attachment_view_get_selected_paths ()
gboolean | e_attachment_view_path_is_selected ()
void | e_attachment_view_select_path ()
void | e_attachment_view_unselect_path ()
void | e_attachment_view_select_all ()
void | e_attachment_view_unselect_all ()
void | e_attachment_view_sync_selection ()
void | e_attachment_view_drag_source_set ()
void | e_attachment_view_drag_source_unset ()
void | e_attachment_view_drag_begin ()
void | e_attachment_view_drag_end ()
void | e_attachment_view_drag_data_get ()
void | e_attachment_view_drag_dest_set ()
void | e_attachment_view_drag_dest_unset ()
gboolean | e_attachment_view_drag_motion ()
gboolean | e_attachment_view_drag_drop ()
void | e_attachment_view_drag_data_received ()
GtkAction * | e_attachment_view_get_action ()
GtkActionGroup * | e_attachment_view_add_action_group ()
GtkActionGroup * | e_attachment_view_get_action_group ()
GtkWidget * | e_attachment_view_get_popup_menu ()
GtkUIManager * | e_attachment_view_get_ui_manager ()
void | e_attachment_view_show_popup_menu ()
void | e_attachment_view_update_actions ()

## Properties

gboolean | dragging | Read / Write
gboolean | editable | Read / Write / Construct

## Signals

void | update-actions | Action

## Types and Values

| EAttachmentView

## Object Hierarchy

        GInterface
        ╰── EAttachmentView

## Prerequisites

EAttachmentView requires GtkWidget.

## Known Implementations

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

## Description

## Functions

### 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);

## Types and Values

### EAttachmentView

    typedef struct _EAttachmentView EAttachmentView;

## Property Details

### The `“dragging”` property

      “dragging”                 gboolean

Flags: Read / Write

Default value: FALSE

### The `“editable”` property

      “editable”                 gboolean

Flags: Read / Write / Construct

Default value: TRUE

## Signal Details

### The `“update-actions”` signal

    void
    user_function (EAttachmentView *eattachmentview,
                   gpointer         user_data)

Flags: Action