## EvAttachment EvAttachment |

## Synopsis

    struct              EvAttachment;
    struct              EvAttachmentClass;
    EvAttachment *      ev_attachment_new                   (const gchar *name,
                                                             const gchar *description,
                                                             GTime mtime,
                                                             GTime ctime,
                                                             gsize size,
                                                             gpointer data);
    const gchar *       ev_attachment_get_name              (EvAttachment *attachment);
    const gchar *       ev_attachment_get_description       (EvAttachment *attachment);
    GTime               ev_attachment_get_modification_date (EvAttachment *attachment);
    GTime               ev_attachment_get_creation_date     (EvAttachment *attachment);
    const gchar *       ev_attachment_get_mime_type         (EvAttachment *attachment);
    gboolean            ev_attachment_save                  (EvAttachment *attachment,
                                                             GFile *file,
                                                             GError **error);
    gboolean            ev_attachment_open                  (EvAttachment *attachment,
                                                             GdkScreen *screen,
                                                             guint32 timestamp,
                                                             GError **error);

## Object Hierarchy

      GObject
       +----EvAttachment

## Properties

      "ctime"                    gulong                : Write / Construct Only
      "data"                     gpointer              : Write / Construct Only
      "description"              gchar*                : Write / Construct Only
      "mtime"                    gulong                : Write / Construct Only
      "name"                     gchar*                : Write / Construct Only
      "size"                     guint                 : Write / Construct Only

## Description

## Details

### struct EvAttachment

    struct EvAttachment;

### struct EvAttachmentClass

    struct EvAttachmentClass {
    	GObjectClass base_class;
    };

### ev_attachment_new ()

    EvAttachment *      ev_attachment_new                   (const gchar *name,
                                                             const gchar *description,
                                                             GTime mtime,
                                                             GTime ctime,
                                                             gsize size,
                                                             gpointer data);

### ev_attachment_get_name ()

    const gchar *       ev_attachment_get_name              (EvAttachment *attachment);

### ev_attachment_get_description ()

    const gchar *       ev_attachment_get_description       (EvAttachment *attachment);

### ev_attachment_get_modification_date ()

    GTime               ev_attachment_get_modification_date (EvAttachment *attachment);

### ev_attachment_get_creation_date ()

    GTime               ev_attachment_get_creation_date     (EvAttachment *attachment);

### ev_attachment_get_mime_type ()

    const gchar *       ev_attachment_get_mime_type         (EvAttachment *attachment);

### ev_attachment_save ()

    gboolean            ev_attachment_save                  (EvAttachment *attachment,
                                                             GFile *file,
                                                             GError **error);

### ev_attachment_open ()

    gboolean            ev_attachment_open                  (EvAttachment *attachment,
                                                             GdkScreen *screen,
                                                             guint32 timestamp,
                                                             GError **error);

## Property Details

### The `"ctime"` property

      "ctime"                    gulong                : Write / Construct Only

The attachment creation date.

### The `"data"` property

      "data"                     gpointer              : Write / Construct Only

The attachment data.

### The `"description"` property

      "description"              gchar*                : Write / Construct Only

The attachment description.

Default value: NULL

### The `"mtime"` property

      "mtime"                    gulong                : Write / Construct Only

The attachment modification date.

### The `"name"` property

      "name"                     gchar*                : Write / Construct Only

The attachment name.

Default value: NULL

### The `"size"` property

      "size"                     guint                 : Write / Construct Only

The attachment size.

Default value: 0