## 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 ()
gboolean | e_attachment_store_transform_num_attachments_to_visible_boolean ()
gboolean | e_attachment_store_find_attachment_iter ()
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

## Signals

void | attachment-added | Run Last
void | attachment-removed | Run Last

## Object Hierarchy

        GObject
        ╰── GtkListStore
            ╰── EAttachmentStore

## 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_transform_num_attachments_to_visible_boolean ()

    gboolean
    e_attachment_store_transform_num_attachments_to_visible_boolean
                                   (GBinding *binding,
                                    const GValue *from_value,
                                    GValue *to_value,
                                    gpointer user_data);

### e_attachment_store_find_attachment_iter ()

    gboolean
    e_attachment_store_find_attachment_iter
                                   (EAttachmentStore *store,
                                    EAttachment *attachment,
                                    GtkTreeIter *out_iter);

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

## Property Details

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

      “num-attachments”          guint

Owner: EAttachmentStore

Flags: Read

Default value: 0

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

      “num-loading”              guint

Owner: EAttachmentStore

Flags: Read

Default value: 0

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

      “total-size”               guint64

Owner: EAttachmentStore

Flags: Read

Default value: 0

## Signal Details

### The `“attachment-added”` signal

    void
    user_function (EAttachmentStore *eattachmentstore,
                   EAttachment      *arg1,
                   gpointer          user_data)

Flags: Run Last

### The `“attachment-removed”` signal

    void
    user_function (EAttachmentStore *eattachmentstore,
                   EAttachment      *arg1,
                   gpointer          user_data)

Flags: Run Last