Top | ![]() |
![]() |
![]() |
![]() |
gboolean | can-show | Read / Write / Construct |
char * | disposition | Read / Write / Construct |
int | encrypted | Read / Write / Construct |
GFile * | file | Read / Write / Construct |
GFileInfo * | file-info | Read |
GIcon * | icon | Read |
gboolean | initially-shown | Read / Write / Construct |
gboolean | is-possible | Read / Write / Construct |
gboolean | loading | Read |
gboolean | may-reload | Read / Write / Construct |
CamelMimePart * | mime-part | Read / Write |
int | percent | Read |
gboolean | save-extracted | Read / Write |
gboolean | save-self | Read / Write |
gboolean | saving | Read |
int | signed | Read / Write / Construct |
void | load-failed | Run Last |
void | update-file-info | Run Last |
void | update-icon | Run Last |
void | update-progress | Run Last |
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
);
gboolean
e_attachment_get_initially_shown (EAttachment *attachment
);
void e_attachment_set_initially_shown (EAttachment *attachment
,gboolean initially_shown
);
void e_attachment_set_save_self (EAttachment *attachment
,gboolean save_self
);
gboolean
e_attachment_get_save_extracted (EAttachment *attachment
);
void e_attachment_set_save_extracted (EAttachment *attachment
,gboolean save_extracted
);
CamelCipherValidityEncrypt
e_attachment_get_encrypted (EAttachment *attachment
);
void e_attachment_set_encrypted (EAttachment *attachment
,CamelCipherValidityEncrypt encrypted
);
CamelCipherValiditySign
e_attachment_get_signed (EAttachment *attachment
);
void e_attachment_set_signed (EAttachment *attachment
,CamelCipherValiditySign signed_
);
gchar *
e_attachment_dup_thumbnail_path (EAttachment *attachment
);
void
e_attachment_update_store_columns (EAttachment *attachment
);
gboolean e_attachment_check_file_changed (EAttachment *attachment
,gboolean *out_file_exists
,GCancellable *cancellable
);
void e_attachment_set_may_reload (EAttachment *attachment
,gboolean may_reload
);
void e_attachment_set_is_possible (EAttachment *attachment
,gboolean is_possible
);
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
);
“can-show”
property “can-show” gboolean
Owner: EAttachment
Flags: Read / Write / Construct
Default value: FALSE
“disposition”
property “disposition” char *
Owner: EAttachment
Flags: Read / Write / Construct
Default value: "attachment"
“encrypted”
property “encrypted” int
Owner: EAttachment
Flags: Read / Write / Construct
Allowed values: [0,3]
Default value: 0
“initially-shown”
property “initially-shown” gboolean
Owner: EAttachment
Flags: Read / Write / Construct
Default value: FALSE
“is-possible”
property “is-possible” gboolean
Owner: EAttachment
Flags: Read / Write / Construct
Default value: FALSE
“may-reload”
property “may-reload” gboolean
Owner: EAttachment
Flags: Read / Write / Construct
Default value: FALSE
“percent”
property “percent” int
Owner: EAttachment
Flags: Read
Allowed values: [0,100]
Default value: 0
“save-extracted”
property “save-extracted” gboolean
Owner: EAttachment
Flags: Read / Write
Default value: FALSE
“save-self”
property “save-self” gboolean
Owner: EAttachment
Flags: Read / Write
Default value: TRUE
“load-failed”
signalvoid user_function (EAttachment *eattachment, gpointer user_data)
Flags: Run Last
“update-file-info”
signalvoid user_function (EAttachment *eattachment, char *arg1, char *arg2, char *arg3, gint64 arg4, gpointer user_data)
Flags: Run Last
“update-icon”
signalvoid user_function (EAttachment *eattachment, GIcon *arg1, gpointer user_data)
Flags: Run Last
“update-progress”
signalvoid user_function (EAttachment *eattachment, gboolean arg1, gboolean arg2, int arg3, gpointer user_data)
Flags: Run Last