Evolution Utilities Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
Synopsis
struct EAttachment; EAttachment * e_attachment_new (void
); EAttachment * e_attachment_new_for_path (const gchar *path
); EAttachment * e_attachment_new_for_uri (const gchar *uri
); 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_cancel (EAttachment *attachment
); gboolean e_attachment_get_can_show (EAttachment *attachment
); void e_attachment_set_can_show (EAttachment *attachment
,gboolean can_show
); const gchar * e_attachment_get_disposition (EAttachment *attachment
); gchar * e_attachment_dup_disposition (EAttachment *attachment
); void e_attachment_set_disposition (EAttachment *attachment
,const gchar *disposition
); GFile * e_attachment_ref_file (EAttachment *attachment
); void e_attachment_set_file (EAttachment *attachment
,GFile *file
); GFileInfo * e_attachment_ref_file_info (EAttachment *attachment
); void e_attachment_set_file_info (EAttachment *attachment
,GFileInfo *file_info
); gchar * e_attachment_dup_mime_type (EAttachment *attachment
); GIcon * e_attachment_ref_icon (EAttachment *attachment
); gboolean e_attachment_get_loading (EAttachment *attachment
); CamelMimePart * e_attachment_ref_mime_part (EAttachment *attachment
); void e_attachment_set_mime_part (EAttachment *attachment
,CamelMimePart *mime_part
); gint e_attachment_get_percent (EAttachment *attachment
); GtkTreeRowReference * e_attachment_get_reference (EAttachment *attachment
); void e_attachment_set_reference (EAttachment *attachment
,GtkTreeRowReference *reference
); gboolean e_attachment_get_saving (EAttachment *attachment
); gboolean e_attachment_get_shown (EAttachment *attachment
); void e_attachment_set_shown (EAttachment *attachment
,gboolean shown
); 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_description (EAttachment *attachment
); gchar * e_attachment_dup_thumbnail_path (EAttachment *attachment
); gboolean e_attachment_is_rfc822 (EAttachment *attachment
); GList * e_attachment_list_apps (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
); gboolean e_attachment_load (EAttachment *attachment
,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
);
Properties
"can-show" gboolean : Read / Write / Construct "disposition" gchar* : Read / Write / Construct "encrypted" gint : Read / Write / Construct "file" GFile* : Read / Write / Construct "file-info" GFileInfo* : Read "icon" GIcon* : Read "loading" gboolean : Read "mime-part" CamelMimePart* : Read / Write "percent" gint : Read "reference" GtkTreeRowReference* : Read / Write "saving" gboolean : Read "shown" gboolean : Read / Write / Construct "signed" gint : Read / Write / Construct
Details
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()
.
|
an EAttachment |
Returns : |
a newly-allocated MIME type string, or NULL
|
e_attachment_set_mime_part ()
void e_attachment_set_mime_part (EAttachment *attachment
,CamelMimePart *mime_part
);
e_attachment_get_reference ()
GtkTreeRowReference * e_attachment_get_reference (EAttachment *attachment
);
e_attachment_set_reference ()
void e_attachment_set_reference (EAttachment *attachment
,GtkTreeRowReference *reference
);
e_attachment_get_encrypted ()
camel_cipher_validity_encrypt_t e_attachment_get_encrypted
(EAttachment *attachment
);
e_attachment_set_encrypted ()
void e_attachment_set_encrypted (EAttachment *attachment
,camel_cipher_validity_encrypt_t encrypted
);
e_attachment_get_signed ()
camel_cipher_validity_sign_t e_attachment_get_signed (EAttachment *attachment
);
e_attachment_set_signed ()
void e_attachment_set_signed (EAttachment *attachment
,camel_cipher_validity_sign_t signed_
);
e_attachment_dup_thumbnail_path ()
gchar * e_attachment_dup_thumbnail_path (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
);