WebKit.WebViewSessionState¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
Details¶
- class WebKit.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
WebKit.WebViewSessionState
, orNone
if data doesn’t contain a valid serializedWebKit.WebViewSessionState
.- Return type:
Creates a new
WebKit.WebViewSessionState
from serialized data.New in version 2.12.
- ref()¶
- Returns:
The passed in
WebKit.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
WebKit.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
WebKit.WebViewSessionState
is released. This function is MT-safe and may be called from any thread.New in version 2.12.