EAttachmentStore: Evolution Utilities Reference Manual

## EAttachmentStore EAttachmentStore |

## Functions

GtkTreeModel * | e_attachment_store_new ()
void | e_attachment_store_add_attachment ()
gboolean | e_attachment_store_remove_attachment ()
void | e_attachment_store_remove_all ()
void | e_attachment_store_add_to_multipart ()
GList * | e_attachment_store_get_attachments ()
guint | e_attachment_store_get_num_attachments ()
guint | e_attachment_store_get_num_loading ()
goffset | e_attachment_store_get_total_size ()
void | e_attachment_store_run_load_dialog ()
GFile * | e_attachment_store_run_save_dialog ()
void | e_attachment_store_get_uris_async ()
gchar ** | e_attachment_store_get_uris_finish ()
void | e_attachment_store_load_async ()
gboolean | e_attachment_store_load_finish ()
void | e_attachment_store_save_async ()
gchar ** | e_attachment_store_save_finish ()

## Properties

guint | num-attachments | Read
guint | num-loading | Read
guint64 | total-size | Read

## Types and Values

struct | EAttachmentStore

## Object Hierarchy

        GObject
        ╰── GtkListStore
            ╰── EAttachmentStore

## Implemented Interfaces

EAttachmentStore implements GtkTreeModel, GtkTreeDragSource, GtkTreeDragDest, GtkTreeSortable and GtkBuildable.

## Description

## Functions

### e_attachment_store_new ()

    GtkTreeModel *
    e_attachment_store_new (void);

### e_attachment_store_add_attachment ()

    void
    e_attachment_store_add_attachment (EAttachmentStore *store,
                                       EAttachment *attachment);

### e_attachment_store_remove_attachment ()

    gboolean
    e_attachment_store_remove_attachment (EAttachmentStore *store,
                                          EAttachment *attachment);

### e_attachment_store_remove_all ()

    void
    e_attachment_store_remove_all (EAttachmentStore *store);

### e_attachment_store_add_to_multipart ()

    void
    e_attachment_store_add_to_multipart (EAttachmentStore *store,
                                         CamelMultipart *multipart,
                                         const gchar *default_charset);

### e_attachment_store_get_attachments ()

    GList *
    e_attachment_store_get_attachments (EAttachmentStore *store);

### e_attachment_store_get_num_attachments ()

    guint
    e_attachment_store_get_num_attachments
                                   (EAttachmentStore *store);

### e_attachment_store_get_num_loading ()

    guint
    e_attachment_store_get_num_loading (EAttachmentStore *store);

### e_attachment_store_get_total_size ()

    goffset
    e_attachment_store_get_total_size (EAttachmentStore *store);

### e_attachment_store_run_load_dialog ()

    void
    e_attachment_store_run_load_dialog (EAttachmentStore *store,
                                        GtkWindow *parent);

### e_attachment_store_run_save_dialog ()

    GFile *
    e_attachment_store_run_save_dialog (EAttachmentStore *store,
                                        GList *attachment_list,
                                        GtkWindow *parent);

### e_attachment_store_get_uris_async ()

    void
    e_attachment_store_get_uris_async (EAttachmentStore *store,
                                       GList *attachment_list,
                                       GAsyncReadyCallback callback,
                                       gpointer user_data);

### e_attachment_store_get_uris_finish ()

    gchar **
    e_attachment_store_get_uris_finish (EAttachmentStore *store,
                                        GAsyncResult *result,
                                        GError **error);

### e_attachment_store_load_async ()

    void
    e_attachment_store_load_async (EAttachmentStore *store,
                                   GList *attachment_list,
                                   GAsyncReadyCallback callback,
                                   gpointer user_data);

### e_attachment_store_load_finish ()

    gboolean
    e_attachment_store_load_finish (EAttachmentStore *store,
                                    GAsyncResult *result,
                                    GError **error);

### e_attachment_store_save_async ()

    void
    e_attachment_store_save_async (EAttachmentStore *store,
                                   GFile *destination,
                                   const gchar *filename_prefix,
                                   GAsyncReadyCallback callback,
                                   gpointer user_data);

### e_attachment_store_save_finish ()

    gchar **
    e_attachment_store_save_finish (EAttachmentStore *store,
                                    GAsyncResult *result,
                                    GError **error);

## Types and Values

### struct EAttachmentStore

    struct EAttachmentStore;

## Property Details

### The `“num-attachments”` property

      “num-attachments”          guint

Flags: Read

Default value: 0

### The `“num-loading”` property

      “num-loading”              guint

Flags: Read

Default value: 0

### The `“total-size”` property

      “total-size”               guint64

Flags: Read

Default value: 0