Back to Seed Clases

WebKit


Classes

Interfaces

Structs

Unions

Enums

GObject.Object
parent-child marker WebKit.WebDataSource

Class WebKit.WebDataSource

Import line: WebKit = imports.gi.WebKit;
GIR File: WebKit-3.0.gir
C documentation: WebKitWebDataSource
Class : WebDataSource
Extends: GObject.Object
Data source encapsulates the content of a WebKitWebFrame. A
WebKitWebFrame has a main resource and subresources and the data source
provides access to these resources. When a request gets loaded initially,
it is set to a provisional state. The application can request for the
request that initiated the load by asking for the provisional data source
and invoking the webkit_web_data_source_get_initial_request method of
WebKitWebDataSource. This data source may not have enough data and some
methods may return empty values. To get a "full" data source with the data
and resources loaded, you need to get the non-provisional data source
through WebKitWebFrame's webkit_web_frame_get_data_source method. This
data source will have the data after everything was loaded. Make sure that
the data source was finished loading before using any of its methods. You
can do this via webkit_web_data_source_is_loading.
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
WebKit.WebFrame
Method
get_data_source () : WebKit.WebDataSource
Returns the committed data source.
WebKit.WebFrame
Method
get_provisional_data_source () : WebKit.WebDataSource
You use the webkit_web_frame_load_request method to initiate a request that
creates a provisional data source.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:18:02 GMT+0800 (HKT)