hbro-1.4.0.0: Minimal extensible web-browser

Safe HaskellNone
LanguageHaskell98

Hbro.WebView.Signals

Documentation

data Download

Constructors

Download 

Instances

Show Download 
Event Download 
type Input Download = (URI, Text, Maybe Int) 

data LinkClicked

Constructors

LinkClicked 

Instances

Show LinkClicked 
Event LinkClicked 
type Input LinkClicked = (URI, MouseButton) 

data LinkHovered

Constructors

LinkHovered 

Instances

data LoadFailed

Constructors

LoadFailed 

Instances

Show LoadFailed 
Event LoadFailed 
type Input LoadFailed = (URI, GError) 

data LoadStarted

Constructors

LoadStarted 

data NewWindow

Constructors

NewWindow 

Instances

data ResourceOpened

Constructors

ResourceOpened 

data URIChanged

Constructors

URIChanged 

attachDownload :: (ControlIO m, MonadCatch m, MonadLogger m) => WebView -> Signal Download -> m (ConnectId WebView)

attachLinkHovered :: (ControlIO m, MonadCatch m, MonadLogger m) => WebView -> Signal LinkHovered -> Signal LinkUnhovered -> m (ConnectId WebView)

attachLoadCommitted :: (ControlIO m, MonadLogger m) => WebView -> Signal LoadCommitted -> m (ConnectId WebView)

attachLoadFailed :: (ControlIO m, MonadCatch m, MonadLogger m) => WebView -> Signal LoadFailed -> m (ConnectId WebView)

attachLoadFinished :: (ControlIO m, MonadLogger m) => WebView -> Signal LoadFinished -> m (ConnectId WebView)

attachLoadStarted :: (ControlIO m, MonadLogger m) => WebView -> Signal LoadStarted -> m (ConnectId WebView)

attachNavigationRequest :: (ControlIO m, MonadCatch m, MonadLogger m) => WebView -> Signal LinkClicked -> Signal LoadRequested -> m (ConnectId WebView)

attachNewWebView :: (ControlIO m, MonadCatch m, MonadLogger m) => WebView -> Signal NewWindow -> m (ConnectId WebView)

attachNewWindow :: (ControlIO m, MonadCatch m, MonadLogger m) => WebView -> Signal NewWindow -> m (ConnectId WebView)

attachProgressChanged :: (ControlIO m, MonadLogger m) => WebView -> Signal ProgressChanged -> m (ConnectId WebView)

attachTitleChanged :: (ControlIO m, MonadLogger m) => WebView -> Signal TitleChanged -> m (ConnectId WebView)

attachUriChanged :: (ControlIO m, MonadCatch m, MonadLogger m) => WebView -> Signal URIChanged -> m (ConnectId WebView)

attachZoomLevelChanged :: (ControlIO m, MonadLogger m) => WebView -> Signal ZoomLevelChanged -> m (ConnectId WebView)

attachKeyPressed :: (ControlIO m, MonadLogger m) => WebView -> Signal KeyPressed -> m (ConnectId WebView)