WebView.save

Asynchronously save the current web page associated to the #WebKitWebView into a self-contained format using the mode specified in @save_mode.

When the operation is finished, @callback will be called. You can then call webkit_web_view_save_finish() to get the result of the operation.

class WebView
void
save
(,
Cancellable cancellable
,
GAsyncReadyCallback callback
,
void* userData
)

Parameters

saveMode WebKitSaveMode

the #WebKitSaveMode specifying how the web page should be saved.

cancellable Cancellable

a #GCancellable or %NULL to ignore

callback GAsyncReadyCallback

a #GAsyncReadyCallback to call when the request is satisfied

userData void*

the data to pass to callback function

Meta