gi-webkit2-4.0.27: WebKit2 bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.WebKit2.Structs.WebViewSessionState

Description

No description available in the introspection data.

Synopsis

Exported types

newtype WebViewSessionState Source #

Memory-managed wrapper type.

Constructors

WebViewSessionState (ManagedPtr WebViewSessionState) 

Instances

Instances details
Eq WebViewSessionState Source # 
Instance details

Defined in GI.WebKit2.Structs.WebViewSessionState

GBoxed WebViewSessionState Source # 
Instance details

Defined in GI.WebKit2.Structs.WebViewSessionState

ManagedPtrNewtype WebViewSessionState Source # 
Instance details

Defined in GI.WebKit2.Structs.WebViewSessionState

TypedObject WebViewSessionState Source # 
Instance details

Defined in GI.WebKit2.Structs.WebViewSessionState

Methods

glibType :: IO GType

HasParentTypes WebViewSessionState Source # 
Instance details

Defined in GI.WebKit2.Structs.WebViewSessionState

IsGValue (Maybe WebViewSessionState) Source #

Convert WebViewSessionState to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.WebKit2.Structs.WebViewSessionState

type ParentTypes WebViewSessionState Source # 
Instance details

Defined in GI.WebKit2.Structs.WebViewSessionState

type ParentTypes WebViewSessionState = '[] :: [Type]

Methods

Click to display all available methods, including inherited ones

Expand

Methods

ref, serialize, unref.

Getters

None.

Setters

None.

new

webViewSessionStateNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Bytes

data: a Bytes

-> m WebViewSessionState

Returns: a new WebViewSessionState, or Nothing if data doesn't contain a valid serialized WebViewSessionState.

Creates a new WebViewSessionState from serialized data.

Since: 2.12

ref

webViewSessionStateRef Source #

Atomically increments the reference count of state by one. This function is MT-safe and may be called from any thread.

Since: 2.12

serialize

webViewSessionStateSerialize Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> WebViewSessionState

state: a WebViewSessionState

-> m Bytes

Returns: a Bytes containing the state serialized.

Serializes a WebViewSessionState.

Since: 2.12

unref

webViewSessionStateUnref Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> WebViewSessionState

state: a WebViewSessionState

-> m () 

Atomically decrements the reference count of state by one. If the reference count drops to 0, all memory allocated by the WebViewSessionState is released. This function is MT-safe and may be called from any thread.

Since: 2.12