EphyEmbedPersist
A class to download files
An #EphyEmbedPersist is a relatively simple way to save a web page or file to
disk. It is an abstract class, implemented by #MozillaEmbedPersist.
To create an #EphyEmbedPersist, use ephy_embed_factory_new_object(). Next, call
ephy_embed_persist_set_flags() and ephy_embed_persist_set_embed(). Depending
on the flags, you may also want to call ephy_embed_persist_set_dest() or
ephy_embed_persist_set_source(). Finally, call ephy_embed_persist_save() to
save the file.
Saving the current web page to disk
#]]>
#
static void
save_source_completed_cb (EphyEmbedPersist *persist,
gpointer dummy)
{
g_print ("Download to %]]>
@persist:
@value:
@persist:
@value:
@persist:
@value:
@persist:
@value:
@persist:
@value:
@persist:
@value:
@persist:
@value:
@persist:
@value:
@persist:
@Returns:
@persist:
@Returns:
@persist:
@Returns:
@persist:
@Returns:
@persist:
@Returns:
@persist:
@Returns:
@persist:
@Returns:
@persist:
@Returns:
@persist:
@Returns:
@persist:
@persist:
@Returns: