GObject.Object
WebKit.WebDataSource
Import line: | WebKit = imports.gi.WebKit; |
GIR File: | WebKit-3.0.gir |
C documentation: | WebKitWebDataSource |
Class : | WebDataSource |
Extends: | GObject.Object |
Properties | Defined By | |
---|---|---|
parent_instance : GObject.Object
read only
|
WebKit.WebDataSource | |
priv : WebKit.WebDataSourcePrivate
read only
|
WebKit.WebDataSource |
Method / Constructor | Defined By | |
---|---|---|
new WebKit.WebDataSource
(Object properties)
Create a new WebKit.WebDataSource
Create a new WebKit.WebDataSource
|
||
Create a new WebKit.WebDataSource
Create a new WebKit.WebDataSource
|
||
get_data
()
:
GLib.String
Returns the raw data that represents the the frame's content.The data will
be incomplete until the data has finished loading.
Returns the raw data that represents the the frame's content.The data will
be incomplete until the data has finished loading. Returns NULL if the web frame hasn't loaded any data. Use webkit_web_data_source_is_loading to test if data source is in the process of loading. data that represents the data_source or NULL if the data_source hasn't loaded any data.
|
WebKit.WebDataSource | |
get_encoding
()
:
String
Returns the text encoding name as set in the WebKitWebView, or if not, the
text encoding of the response.
Returns the text encoding name as set in the WebKitWebView, or if not, the
text encoding of the response.
|
WebKit.WebDataSource | |
get_initial_request
()
:
WebKit.NetworkRequest
Returns a reference to the original request that was used to load the web
content.
Returns a reference to the original request that was used to load the web
content. The WebKitNetworkRequest returned by this method is the request prior to the "committed" load state. See webkit_web_data_source_get_request for getting the "committed" request.
|
WebKit.WebDataSource | |
get_main_resource
()
:
WebKit.WebResource
Returns the main resource of the data_source
representing the main resource of the data_source.
Returns the main resource of the data_source
representing the main resource of the data_source.
|
WebKit.WebDataSource | |
get_request
()
:
WebKit.NetworkRequest
Returns a WebKitNetworkRequest that was used to create this
WebKitWebDataSource.
Returns a WebKitNetworkRequest that was used to create this
WebKitWebDataSource. The WebKitNetworkRequest returned by this method is the request that was "committed", and hence, different from the request you get from the webkit_web_data_source_get_initial_request method. created the data_source or NULL if the data_source is not attached to the frame or the frame hasn't been loaded.
|
WebKit.WebDataSource | |
get_subresources
()
:
Array
Gives you a GList of WebKitWebResource objects that compose the
WebKitWebView to which this WebKitWebDataSource is attached.
Gives you a GList of WebKitWebResource objects that compose the
WebKitWebView to which this WebKitWebDataSource is attached. a GList of WebKitWebResource objects; the objects are owned by WebKit, but the GList must be freed.
|
WebKit.WebDataSource | |
get_unreachable_uri
()
:
String
Return the unreachable URI of data_source.
Return the unreachable URI of data_source. The data_source will have an
unreachable URL if it was created using WebKitWebFrame's webkit_web_frame_load_alternate_html_string method.
|
WebKit.WebDataSource | |
get_web_frame
()
:
WebKit.WebFrame
Returns the WebKitWebFrame that represents this data source
the data_source.
Returns the WebKitWebFrame that represents this data source
the data_source. The WebKitWebFrame is owned by WebKit and should not be freed or destroyed. This will return NULL if the
|
WebKit.WebDataSource | |
is_loading
()
:
gboolean
Determines whether the data source is in the process of loading its content.
Determines whether the data source is in the process of loading its content.
|
WebKit.WebDataSource |
None |
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. |