gi-webkit2-4.0.25: 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.Callbacks

Description

 
Synopsis

Signals

URISchemeRequestCallback

type C_URISchemeRequestCallback = Ptr URISchemeRequest -> Ptr () -> IO () Source #

Type for the callback on the (unwrapped) C side.

type URISchemeRequestCallback Source #

Arguments

 = URISchemeRequest

request: the URISchemeRequest

-> IO () 

Type definition for a function that will be called back when an URI request is made for a user registered URI scheme.

type URISchemeRequestCallback_WithClosures Source #

Arguments

 = URISchemeRequest

request: the URISchemeRequest

-> Ptr ()

userData: user data passed to the callback

-> IO () 

Type definition for a function that will be called back when an URI request is made for a user registered URI scheme.

dynamic_URISchemeRequestCallback Source #

Arguments

:: (HasCallStack, MonadIO m, IsURISchemeRequest a) 
=> FunPtr C_URISchemeRequestCallback 
-> a

request: the URISchemeRequest

-> Ptr ()

userData: user data passed to the callback

-> m () 

Given a pointer to a foreign C function, wrap it into a function callable from Haskell.