WebView.getSnapshot

Asynchronously retrieves a snapshot of @web_view for @region. @options specifies how the snapshot should be rendered.

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

class WebView
void
getSnapshot

Parameters

region WebKitSnapshotRegion

the #WebKitSnapshotRegion for this snapshot

options WebKitSnapshotOptions

#WebKitSnapshotOptions for the snapshot

cancellable Cancellable

a #GCancellable

callback GAsyncReadyCallback

a #GAsyncReadyCallback

userData void*

user data

Meta