WebView.getSnapshot
void getSnapshot(webkit.types.SnapshotRegion region, webkit.types.SnapshotOptions options, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)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 | the #WebKitSnapshotRegion for this snapshot |
options | #WebKitSnapshotOptions for the snapshot |
cancellable | a #GCancellable |
callback | a #GAsyncReadyCallback |