Method
WebKit2WebViewget_snapshot
Declaration [src]
void
webkit_web_view_get_snapshot (
WebKitWebView* web_view,
WebKitSnapshotRegion region,
WebKitSnapshotOptions options,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
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.
Parameters
region |
WebKitSnapshotRegion |
The |
|
options |
WebKitSnapshotOptions |
|
|
cancellable |
GCancellable |
A |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
callback |
GAsyncReadyCallback |
A |
|
The argument can be NULL . | |
user_data |
gpointer |
User data. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. |