Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
GuiEnv | |
|
data WidgetState t m Source
WidgetState | |
|
guiEnvWebView :: forall t h. Lens' (GuiEnv t h) WebView Source
guiEnvRunWithActions :: forall t h t. Lens (GuiEnv t h) (GuiEnv t h) ([DSum (EventTrigger t)] -> h ()) ([DSum (EventTrigger t)] -> h ()) Source
guiEnvPostGui :: forall t h. Lens' (GuiEnv t h) (h () -> IO ()) Source
guiEnvDocument :: forall t h. Lens' (GuiEnv t h) HTMLDocument Source
widgetStateVoidActions :: forall t m t. Lens (WidgetState t m) (WidgetState t m) [Event t (m ())] [Event t (m ())] Source
widgetStatePostBuild :: forall t m. Lens' (WidgetState t m) (m ()) Source
type WidgetInternal t m a = ReaderT WidgetEnv (StateT (WidgetState t m) m) a Source
Widget | |
|
runWidget :: (Monad m, Reflex t, IsNode n) => n -> Widget t (Gui t h m) a -> WidgetHost (Widget t (Gui t h m)) (a, WidgetHost (Widget t (Gui t h m)) (), Event t (WidgetHost (Widget t (Gui t h m)) ())) Source
holdOnStartup :: MonadWidget t m => a -> WidgetHost m a -> m (Behavior t a) Source
mainWidget :: Widget Spider (Gui Spider (WithWebView SpiderHost) (HostFrame Spider)) () -> IO () Source
mainWidgetWithHead :: Widget Spider (Gui Spider (WithWebView SpiderHost) (HostFrame Spider)) () -> Widget Spider (Gui Spider (WithWebView SpiderHost) (HostFrame Spider)) () -> IO () Source
mainWidgetWithCss :: ByteString -> Widget Spider (Gui Spider (WithWebView SpiderHost) (HostFrame Spider)) () -> IO () Source
newtype WithWebView m a Source
WithWebView | |
|
MonadTrans WithWebView Source | |
MonadSubscribeEvent t m => MonadSubscribeEvent t (WithWebView m) Source | |
MonadReflexCreateTrigger t m => MonadReflexCreateTrigger t (WithWebView m) Source | |
MonadReflexHost t m => MonadReflexHost t (WithWebView m) Source | |
HasPostGui t h m => HasPostGui t (WithWebView h) (WithWebView m) Source | |
Monad m => Monad (WithWebView m) Source | |
Functor m => Functor (WithWebView m) Source | |
MonadFix m => MonadFix (WithWebView m) Source | |
Applicative m => Applicative (WithWebView m) Source | |
MonadException m => MonadException (WithWebView m) Source | |
MonadAsyncException m => MonadAsyncException (WithWebView m) Source | |
MonadIO m => MonadIO (WithWebView m) Source | |
MonadRef m => MonadRef (WithWebView m) Source | |
MonadAtomicRef m => MonadAtomicRef (WithWebView m) Source | |
Monad m => HasWebView (WithWebView m) Source | |
type Ref (WithWebView m) = Ref m Source | |
type ReadPhase (WithWebView m) = ReadPhase m Source |
runWithWebView :: WithWebView m a -> WebView -> m a Source
attachWidget :: IsHTMLElement e => e -> WebView -> Widget Spider (Gui Spider (WithWebView SpiderHost) (HostFrame Spider)) a -> IO a Source