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.WebView.getSnapshotFinish to get the result of the operation.

Parameters

region webkit.types.SnapshotRegion

the #WebKitSnapshotRegion for this snapshot

options webkit.types.SnapshotOptions

#WebKitSnapshotOptions for the snapshot

cancellable gio.cancellable.Cancellable

a #GCancellable

callback gio.types.AsyncReadyCallback

a #GAsyncReadyCallback