ihaskell-0.10.3.0: A Haskell backend kernel for the Jupyter project.
Safe HaskellSafe-Inferred
LanguageHaskell2010

IHaskell.Eval.Widgets

Synopsis

Documentation

widgetSendOpen :: IHaskellWidget a => a -> Value -> IO () Source #

Send a message to open a comm

widgetSendView :: IHaskellWidget a => a -> IO () Source #

Send a [method .= display] comm_msg

widgetSendUpdate :: IHaskellWidget a => a -> Value -> IO () Source #

Send a state update message

widgetSendCustom :: IHaskellWidget a => a -> Value -> IO () Source #

Send a [method .= custom, content .= value] comm_msg

widgetSendClose :: IHaskellWidget a => a -> Value -> IO () Source #

Send a comm_close

widgetSendValue :: IHaskellWidget a => a -> Value -> IO () Source #

Send a custom Value

widgetPublishDisplay :: (IHaskellWidget a, IHaskellDisplay b) => a -> b -> IO () Source #

Send a display_data message as a [method .= custom] message

widgetClearOutput :: Bool -> IO () Source #

Send a clear_output message

relayWidgetMessages :: IO [WidgetMsg] Source #

Return all pending comm_close messages