Import line: | WebKit = imports.gi.WebKit; |
GIR File: | WebKit-3.0.gir |
C documentation: | WebKit |
Namespace : | WebKit |
Properties | |
---|---|
gint32 WebKit.MAJOR_VERSION : 0
|
|
gint32 WebKit.MICRO_VERSION : 0
|
|
gint32 WebKit.MINOR_VERSION : 0
|
|
gint32 WebKit.USER_AGENT_MAJOR_VERSION : 0
|
|
gint32 WebKit.USER_AGENT_MINOR_VERSION : 0
|
None |
Method / Constructor | Defined By | |
---|---|---|
WebKit.application_cache_get_database_directory_path
()
:
String
|
WebKit | |
WebKit | ||
WebKit.geolocation_policy_allow
(GeolocationPolicyDecision decision)
:
none
Will send the allow decision to the policy implementer.
Will send the allow decision to the policy implementer.
|
WebKit | |
WebKit.geolocation_policy_deny
(GeolocationPolicyDecision decision)
:
none
Will send the deny decision to the policy implementer.
Will send the deny decision to the policy implementer.
|
WebKit | |
WebKit.get_cache_model
()
:
WebKit.CacheModel
Returns the current cache model.
Returns the current cache model. For more information about this
value check the documentation of the function webkit_set_cache_model().
|
WebKit | |
WebKit.get_default_session
()
:
Soup.Session
Retrieves the default SoupSession used by all web views.
Retrieves the default SoupSession used by all web views.
Note that the session features are added by WebKit on demand, so if you insert your own SoupCookieJar before any network traffic occurs, WebKit will use it instead of the default.
|
WebKit | |
WebKit.get_default_web_database_quota
()
:
guint64
Returns the default quota for Web Database databases.
Returns the default quota for Web Database databases. By default
this value is 5MB.
|
WebKit | |
WebKit.get_icon_database
()
:
WebKit.IconDatabase
Returns the WebKitIconDatabase providing access to website icons.
Returns the WebKitIconDatabase providing access to website icons.
|
WebKit | |
WebKit.get_web_database_directory_path
()
:
String
Returns the current path to the directory WebKit will write Web
Database databases.
Returns the current path to the directory WebKit will write Web
Database databases. By default this path will be in the user data directory.
|
WebKit | |
WebKit.get_web_plugin_database
()
:
WebKit.WebPluginDatabase
Returns the current WebKitWebPluginDatabase with information about
all the plugins WebKit knows about in this instance.
Returns the current WebKitWebPluginDatabase with information about
all the plugins WebKit knows about in this instance.
|
WebKit | |
WebKit.major_version
()
:
guint32
The major version number of the WebKit that is linked against.
The major version number of the WebKit that is linked against.
|
WebKit | |
WebKit.micro_version
()
:
guint32
The micro version number of the WebKit that is linked against.
The micro version number of the WebKit that is linked against.
|
WebKit | |
WebKit.minor_version
()
:
guint32
The minor version number of the WebKit that is linked against.
The minor version number of the WebKit that is linked against.
|
WebKit | |
WebKit.network_error_quark
()
:
guint32
|
WebKit | |
WebKit.plugin_error_quark
()
:
guint32
|
WebKit | |
WebKit.policy_error_quark
()
:
guint32
|
WebKit | |
WebKit.remove_all_web_databases
()
:
none
Removes all web databases from the current database directory path.
Removes all web databases from the current database directory path.
|
WebKit | |
WebKit.set_cache_model
(CacheModel cache_model)
:
none
Specifies a usage model for WebViews, which WebKit will use to
determine its caching behavior.
Specifies a usage model for WebViews, which WebKit will use to
determine its caching behavior. All web views follow the cache model. This cache model determines the RAM and disk space to use for caching previously viewed content . Research indicates that users tend to browse within clusters of documents that hold resources in common, and to revisit previously visited documents. WebKit and the frameworks below it include built-in caches that take advantage of these patterns, substantially improving document load speed in browsing situations. The WebKit cache model controls the behaviors of all of these caches, including various WebCore caches. Browsers can improve document load speed substantially by specifying WEBKIT_CACHE_MODEL_WEB_BROWSER. Applications without a browsing interface can reduce memory usage substantially by specifying WEBKIT_CACHE_MODEL_DOCUMENT_VIEWER. Default value is WEBKIT_CACHE_MODEL_WEB_BROWSER.
|
WebKit | |
WebKit.set_default_web_database_quota
(guint64 defaultQuota)
:
none
Sets the current path to the directory WebKit will write Web
Database databases.
Sets the current path to the directory WebKit will write Web
Database databases.
|
WebKit | |
WebKit.set_web_database_directory_path
(String path)
:
none
Sets the current path to the directory WebKit will write Web
Database databases.
Sets the current path to the directory WebKit will write Web
Database databases.
|
WebKit |
None |