WebKit2.WebViewSessionState¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
Details¶
- class WebKit2.WebViewSessionState¶
Handles serialization of a web view’s browsing state.
New in version 2.12.
- classmethod new(data)¶
- Parameters:
data (
GLib.Bytes
) – aGLib.Bytes
- Returns:
a new
WebKit2.WebViewSessionState
, orNone
if data doesn’t contain a valid serializedWebKit2.WebViewSessionState
.- Return type:
Creates a new
WebKit2.WebViewSessionState
from serialized data.New in version 2.12.
- ref()¶
- Returns:
The passed in
WebKit2.WebViewSessionState
- Return type:
Atomically increments the reference count of self by one.
This function is MT-safe and may be called from any thread.
New in version 2.12.
- serialize()¶
- Returns:
a
GLib.Bytes
containing the self serialized.- Return type:
Serializes a
WebKit2.WebViewSessionState
.New in version 2.12.
- unref()¶
Atomically decrements the reference count of self by one.
If the reference count drops to 0, all memory allocated by the
WebKit2.WebViewSessionState
is released. This function is MT-safe and may be called from any thread.New in version 2.12.