EvAttachment

EvAttachment

Functions

Properties

gulong ctime Write / Construct Only
gpointer data Write / Construct Only
char * description Write / Construct Only
gulong mtime Write / Construct Only
char * name Write / Construct Only
guint size Write / Construct Only

Types and Values

Object Hierarchy

    GObject
    ╰── EvAttachment

Description

Functions

ev_attachment_error_quark ()

GQuark
ev_attachment_error_quark (void);

ev_attachment_new ()

EvAttachment *
ev_attachment_new (const gchar *name,
                   const gchar *description,
                   gint64 mtime,
                   gint64 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 ()

gint64
ev_attachment_get_modification_date (EvAttachment *attachment);

ev_attachment_get_creation_date ()

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

Types and Values

struct EvAttachment

struct EvAttachment;

struct EvAttachmentClass

struct EvAttachmentClass {
	GObjectClass base_class;
};

EvAttachmentPrivate

typedef struct _EvAttachmentPrivate EvAttachmentPrivate;

EV_ATTACHMENT_ERROR

#define EV_ATTACHMENT_ERROR (ev_attachment_error_quark ())

Property Details

The “ctime” property

  “ctime”                    gulong

The attachment creation date.

Owner: EvAttachment

Flags: Write / Construct Only


The “data” property

  “data”                     gpointer

The attachment data.

Owner: EvAttachment

Flags: Write / Construct Only


The “description” property

  “description”              char *

The attachment description.

Owner: EvAttachment

Flags: Write / Construct Only

Default value: NULL


The “mtime” property

  “mtime”                    gulong

The attachment modification date.

Owner: EvAttachment

Flags: Write / Construct Only


The “name” property

  “name”                     char *

The attachment name.

Owner: EvAttachment

Flags: Write / Construct Only

Default value: NULL


The “size” property

  “size”                     guint

The attachment size.

Owner: EvAttachment

Flags: Write / Construct Only

Default value: 0