| Top |
Functions
Properties
| 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 | initially-shown | Read / Write / Construct |
| gboolean | loading | Read |
| CamelMimePart * | mime-part | Read / Write |
| gint | percent | Read |
| gboolean | save-extracted | Read / Write |
| gboolean | save-self | Read / Write |
| gboolean | saving | Read |
| gint | signed | Read / Write / Construct |
Signals
| void | load-failed | Run Last |
| void | update-file-info | Run Last |
| void | update-icon | Run Last |
| void | update-progress | Run Last |
Functions
e_attachment_new_for_message ()
EAttachment *
e_attachment_new_for_message (CamelMimeMessage *message);
e_attachment_add_to_multipart ()
void e_attachment_add_to_multipart (EAttachment *attachment,CamelMultipart *multipart,const gchar *default_charset);
e_attachment_set_can_show ()
void e_attachment_set_can_show (EAttachment *attachment,gboolean can_show);
e_attachment_get_disposition ()
const gchar *
e_attachment_get_disposition (EAttachment *attachment);
e_attachment_set_disposition ()
void e_attachment_set_disposition (EAttachment *attachment,const gchar *disposition);
e_attachment_set_file_info ()
void e_attachment_set_file_info (EAttachment *attachment,GFileInfo *file_info);
e_attachment_dup_mime_type ()
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().
e_attachment_set_mime_part ()
void e_attachment_set_mime_part (EAttachment *attachment,CamelMimePart *mime_part);
e_attachment_get_initially_shown ()
gboolean
e_attachment_get_initially_shown (EAttachment *attachment);
e_attachment_set_initially_shown ()
void e_attachment_set_initially_shown (EAttachment *attachment,gboolean initially_shown);
e_attachment_set_save_self ()
void e_attachment_set_save_self (EAttachment *attachment,gboolean save_self);
e_attachment_get_save_extracted ()
gboolean
e_attachment_get_save_extracted (EAttachment *attachment);
e_attachment_set_save_extracted ()
void e_attachment_set_save_extracted (EAttachment *attachment,gboolean save_extracted);
e_attachment_get_encrypted ()
CamelCipherValidityEncrypt
e_attachment_get_encrypted (EAttachment *attachment);
e_attachment_set_encrypted ()
void e_attachment_set_encrypted (EAttachment *attachment,CamelCipherValidityEncrypt encrypted);
e_attachment_get_signed ()
CamelCipherValiditySign
e_attachment_get_signed (EAttachment *attachment);
e_attachment_set_signed ()
void e_attachment_set_signed (EAttachment *attachment,CamelCipherValiditySign signed_);
e_attachment_dup_thumbnail_path ()
gchar *
e_attachment_dup_thumbnail_path (EAttachment *attachment);
e_attachment_update_store_columns ()
void
e_attachment_update_store_columns (EAttachment *attachment);
e_attachment_load_async ()
void e_attachment_load_async (EAttachment *attachment,GAsyncReadyCallback callback,gpointer user_data);
e_attachment_load_finish ()
gboolean e_attachment_load_finish (EAttachment *attachment,GAsyncResult *result,GError **error);
e_attachment_open_async ()
void e_attachment_open_async (EAttachment *attachment,GAppInfo *app_info,GAsyncReadyCallback callback,gpointer user_data);
e_attachment_open_finish ()
gboolean e_attachment_open_finish (EAttachment *attachment,GAsyncResult *result,GError **error);
e_attachment_open ()
gboolean e_attachment_open (EAttachment *attachment,GAppInfo *app_info,GError **error);
e_attachment_save_async ()
void e_attachment_save_async (EAttachment *attachment,GFile *destination,GAsyncReadyCallback callback,gpointer user_data);
e_attachment_save_finish ()
GFile * e_attachment_save_finish (EAttachment *attachment,GAsyncResult *result,GError **error);
e_attachment_save ()
gboolean e_attachment_save (EAttachment *attachment,GFile *in_destination,GFile **out_destination,GError **error);
e_attachment_load_handle_error ()
void e_attachment_load_handle_error (EAttachment *attachment,GAsyncResult *result,GtkWindow *parent);
e_attachment_open_handle_error ()
void e_attachment_open_handle_error (EAttachment *attachment,GAsyncResult *result,GtkWindow *parent);
e_attachment_save_handle_error ()
void e_attachment_save_handle_error (EAttachment *attachment,GAsyncResult *result,GtkWindow *parent);
Property Details
The “disposition” property
“disposition” gchar *
Flags: Read / Write / Construct
Default value: "attachment"
The “encrypted” property
“encrypted” gint
Flags: Read / Write / Construct
Allowed values: [0,3]
Default value: 0
The “initially-shown” property
“initially-shown” gboolean
Flags: Read / Write / Construct
Default value: FALSE
The “signed” property
“signed” gint
Flags: Read / Write / Construct
Allowed values: [0,4]
Default value: 0
Signal Details
The “load-failed” signal
void user_function (EAttachment *eattachment, gpointer user_data)
Flags: Run Last
The “update-file-info” signal
void user_function (EAttachment *eattachment, gchar *arg1, gchar *arg2, gchar *arg3, gint64 arg4, gpointer user_data)
Flags: Run Last
The “update-icon” signal
void user_function (EAttachment *eattachment, GIcon *arg1, gpointer user_data)
Flags: Run Last
