Top | ![]() |
![]() |
![]() |
![]() |
gboolean | can-show | Read / Write / Construct |
gchar * | disposition | Read / Write / Construct |
gint | encrypted | Read / Write / Construct |
GFile * | file | Read / Write / Construct |
GFileInfo * | file-info | Read |
GIcon * | icon | Read |
gboolean | loading | Read |
CamelMimePart * | mime-part | Read / Write |
gint | percent | Read |
GtkTreeRowReference * | reference | Read / Write |
gboolean | save-extracted | Read / Write |
gboolean | save-self | Read / Write |
gboolean | saving | Read |
gboolean | shown | Read / Write / Construct |
gint | signed | Read / Write / Construct |
EAttachment *
e_attachment_new_for_message (CamelMimeMessage *message
);
void e_attachment_add_to_multipart (EAttachment *attachment
,CamelMultipart *multipart
,const gchar *default_charset
);
void e_attachment_set_can_show (EAttachment *attachment
,gboolean can_show
);
const gchar *
e_attachment_get_disposition (EAttachment *attachment
);
void e_attachment_set_disposition (EAttachment *attachment
,const gchar *disposition
);
void e_attachment_set_file_info (EAttachment *attachment
,GFileInfo *file_info
);
gchar *
e_attachment_dup_mime_type (EAttachment *attachment
);
Returns the MIME type of attachment
according to its GFileInfo.
If the attachment
has no GFileInfo then the function returns NULL
.
Free the returned MIME type string with g_free()
.
void e_attachment_set_mime_part (EAttachment *attachment
,CamelMimePart *mime_part
);
GtkTreeRowReference *
e_attachment_get_reference (EAttachment *attachment
);
void e_attachment_set_reference (EAttachment *attachment
,GtkTreeRowReference *reference
);
camel_cipher_validity_encrypt_t
e_attachment_get_encrypted (EAttachment *attachment
);
void e_attachment_set_encrypted (EAttachment *attachment
,camel_cipher_validity_encrypt_t encrypted
);
camel_cipher_validity_sign_t
e_attachment_get_signed (EAttachment *attachment
);
void e_attachment_set_signed (EAttachment *attachment
,camel_cipher_validity_sign_t signed_
);
gchar *
e_attachment_dup_thumbnail_path (EAttachment *attachment
);
void e_attachment_load_async (EAttachment *attachment
,GAsyncReadyCallback callback
,gpointer user_data
);
gboolean e_attachment_load_finish (EAttachment *attachment
,GAsyncResult *result
,GError **error
);
void e_attachment_open_async (EAttachment *attachment
,GAppInfo *app_info
,GAsyncReadyCallback callback
,gpointer user_data
);
gboolean e_attachment_open_finish (EAttachment *attachment
,GAsyncResult *result
,GError **error
);
gboolean e_attachment_open (EAttachment *attachment
,GAppInfo *app_info
,GError **error
);
void e_attachment_save_async (EAttachment *attachment
,GFile *destination
,GAsyncReadyCallback callback
,gpointer user_data
);
GFile * e_attachment_save_finish (EAttachment *attachment
,GAsyncResult *result
,GError **error
);
gboolean e_attachment_save (EAttachment *attachment
,GFile *in_destination
,GFile **out_destination
,GError **error
);
void e_attachment_load_handle_error (EAttachment *attachment
,GAsyncResult *result
,GtkWindow *parent
);
void e_attachment_open_handle_error (EAttachment *attachment
,GAsyncResult *result
,GtkWindow *parent
);
void e_attachment_save_handle_error (EAttachment *attachment
,GAsyncResult *result
,GtkWindow *parent
);
“disposition”
property“disposition” gchar *
Flags: Read / Write / Construct
Default value: "attachment"
“encrypted”
property“encrypted” gint
Flags: Read / Write / Construct
Allowed values: [0,3]
Default value: 0
“signed”
property“signed” gint
Flags: Read / Write / Construct
Allowed values: [0,4]
Default value: 0