gi-webkit2-4.0.26: WebKit2 bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
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

IsGValue WebViewSessionState Source #

Convert WebViewSessionState to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.WebKit2.Structs.WebViewSessionState

Methods

toGValue :: WebViewSessionState -> IO GValue

fromGValue :: GValue -> IO WebViewSessionState

HasParentTypes WebViewSessionState Source # 
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

Overloaded methods

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 #

Arguments

:: (HasCallStack, MonadIO m) 
=> WebViewSessionState

state: a WebViewSessionState

-> m WebViewSessionState

Returns: The passed in WebViewSessionState

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